assets, fixes

This commit is contained in:
Bob 2023-08-09 22:28:14 +02:00
parent dcfa7fe811
commit afd75b26af
4 changed files with 3 additions and 2 deletions

View File

@ -955,6 +955,8 @@ public class MainRegistry {
WeaponConfig.loadFromConfig(config);
MobConfig.loadFromConfig(config);
StructureConfig.loadFromConfig(config);
config.save();
try {
if(GeneralConfig.enableThermosPreventer && Class.forName("thermos.Thermos") != null) {
@ -967,8 +969,6 @@ public class MainRegistry {
+ "change Thermos' config anyway so that extra change in NTM's config can't be that big of a burden.");
}
} catch(ClassNotFoundException e) { }
config.save();
}
private static HashSet<String> ignoreMappings = new HashSet();

View File

@ -308,6 +308,7 @@ public class TileEntityElectrolyser extends TileEntityMachineBase implements IEn
if(this.tanks[3].getFill() < 100) return false;
ElectrolysisMetalRecipe recipe = ElectrolyserMetalRecipes.getRecipe(slots[14]);
if(recipe == null) return false;
if(leftStack != null) {
if(recipe.output1.material != leftStack.material) return false;

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB