mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
Only register smeltery worldgen if smeltery module is enabled. Closes #1729
This commit is contained in:
1 parent
5463130015
commit
60645d3e89
1 file changed
+4
-2
@@ -197,9 +197,11 @@ public class TConstruct
|
||||
VillagerRegistry.instance().registerVillageTradeHandler(78943, new TVillageTrades());
|
||||
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillageToolStationHandler());
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillageSmelteryHandler());
|
||||
MapGenStructureIO.func_143031_a(ComponentToolWorkshop.class, "TConstruct:ToolWorkshopStructure");
|
||||
MapGenStructureIO.func_143031_a(ComponentSmeltery.class, "TConstruct:SmelteryStructure");
|
||||
if(pulsar.isPulseLoaded("Tinkers' Smeltery")) {
|
||||
VillagerRegistry.instance().registerVillageCreationHandler(new VillageSmelteryHandler());
|
||||
MapGenStructureIO.func_143031_a(ComponentSmeltery.class, "TConstruct:SmelteryStructure");
|
||||
}
|
||||
}
|
||||
|
||||
TConstructAPI.PROP_NAME = TPlayerStats.PROP_NAME;
|
||||
|
||||
Reference in new issue
Block a user