mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge branch 'HbmMods:master' into master
This commit is contained in:
commit
4975397659
@ -955,6 +955,8 @@ public class MainRegistry {
|
|||||||
WeaponConfig.loadFromConfig(config);
|
WeaponConfig.loadFromConfig(config);
|
||||||
MobConfig.loadFromConfig(config);
|
MobConfig.loadFromConfig(config);
|
||||||
StructureConfig.loadFromConfig(config);
|
StructureConfig.loadFromConfig(config);
|
||||||
|
|
||||||
|
config.save();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if(GeneralConfig.enableThermosPreventer && Class.forName("thermos.Thermos") != null) {
|
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.");
|
+ "change Thermos' config anyway so that extra change in NTM's config can't be that big of a burden.");
|
||||||
}
|
}
|
||||||
} catch(ClassNotFoundException e) { }
|
} catch(ClassNotFoundException e) { }
|
||||||
|
|
||||||
config.save();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static HashSet<String> ignoreMappings = new HashSet();
|
private static HashSet<String> ignoreMappings = new HashSet();
|
||||||
|
|||||||
@ -308,6 +308,7 @@ public class TileEntityElectrolyser extends TileEntityMachineBase implements IEn
|
|||||||
if(this.tanks[3].getFill() < 100) return false;
|
if(this.tanks[3].getFill() < 100) return false;
|
||||||
|
|
||||||
ElectrolysisMetalRecipe recipe = ElectrolyserMetalRecipes.getRecipe(slots[14]);
|
ElectrolysisMetalRecipe recipe = ElectrolyserMetalRecipes.getRecipe(slots[14]);
|
||||||
|
if(recipe == null) return false;
|
||||||
|
|
||||||
if(leftStack != null) {
|
if(leftStack != null) {
|
||||||
if(recipe.output1.material != leftStack.material) return false;
|
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 |
Loading…
x
Reference in New Issue
Block a user