fix replace issue
This commit is contained in:
parent
978aaa2e87
commit
9e61404244
|
|
@ -538,7 +538,7 @@ if(enabledMods.includes(groundMod) && enabledMods.includes(libHookTickMod)) {
|
||||||
info.nellFireColor
|
info.nellFireColor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function doHellfire(pixel) {
|
function doNellfire(pixel) {
|
||||||
var info = elements[pixel.element];
|
var info = elements[pixel.element];
|
||||||
if((info.nellfireImmune && info.nellfireImmune !== "torch") && pixel.nellburn) {
|
if((info.nellfireImmune && info.nellfireImmune !== "torch") && pixel.nellburn) {
|
||||||
delete pixel.nellburn;
|
delete pixel.nellburn;
|
||||||
|
|
@ -706,7 +706,7 @@ if(enabledMods.includes(groundMod) && enabledMods.includes(libHookTickMod)) {
|
||||||
if(paused) { return };
|
if(paused) { return };
|
||||||
var nellfirePixels = currentPixels.filter(function(pixel) { return pixel.nellburn });
|
var nellfirePixels = currentPixels.filter(function(pixel) { return pixel.nellburn });
|
||||||
for(var pixel in nellfirePixels) {
|
for(var pixel in nellfirePixels) {
|
||||||
doHellfire(nellfirePixels[pixel]);
|
doNellfire(nellfirePixels[pixel]);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue