Fixed bug in DDLoot, delayed loot generation
Changed DDLoot to use the correct item IDs when adding DD items to chests. Moved loot chest registration from init() to postInit() in the hopes that we'll be able to catch the loot of other mods that also hook into Vanilla chests.
This commit is contained in:
@@ -395,15 +395,14 @@ public class mod_pocketDim
|
||||
|
||||
proxy.loadTextures();
|
||||
proxy.registerRenderers();
|
||||
|
||||
//Register loot chests
|
||||
DDLoot.registerInfo();
|
||||
}
|
||||
|
||||
|
||||
@PostInit
|
||||
public void PostInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
{
|
||||
//Register loot chests
|
||||
DDLoot.registerInfo();
|
||||
}
|
||||
|
||||
@ServerStopping
|
||||
|
||||
Reference in New Issue
Block a user