Merge branch 'HbmMods:master' into master

This commit is contained in:
BallOfEnergy 2023-08-09 16:47:46 -05:00 committed by GitHub
commit 4975397659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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