added check to stop error from masking other errors
This commit is contained in:
parent
cbccd2b632
commit
8894a261cf
|
|
@ -114,6 +114,7 @@ elements.nitrogen_ice.breakInto = "nitrogen_snow"
|
||||||
|
|
||||||
runAfterLoad(function() {
|
runAfterLoad(function() {
|
||||||
for(i = 0; i < regularMetalArray.length; i++) {
|
for(i = 0; i < regularMetalArray.length; i++) {
|
||||||
|
if(elements[regularMetalArray[i]]) {
|
||||||
elements[`${regularMetalArray[i]}_scrap`] = {
|
elements[`${regularMetalArray[i]}_scrap`] = {
|
||||||
color: elements[regularMetalArray[i]].color,
|
color: elements[regularMetalArray[i]].color,
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.POWDER,
|
||||||
|
|
@ -126,4 +127,5 @@ runAfterLoad(function() {
|
||||||
};
|
};
|
||||||
elements[regularMetalArray[i]].breakInto = `${regularMetalArray[i]}_scrap`
|
elements[regularMetalArray[i]].breakInto = `${regularMetalArray[i]}_scrap`
|
||||||
};
|
};
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue