Turns out items have to be registered now & other spot fixes

This commit is contained in:
CannibalVox
2015-03-07 02:20:06 -06:00
parent 5ef42b6bd3
commit 22654722b6
2 changed files with 17 additions and 0 deletions

View File

@@ -145,6 +145,9 @@ public class EventHookContainer
PocketManager.load();
}
if (FMLClientHandler.instance().getClient().thePlayer == null)
return;
if (FMLClientHandler.instance().getClient().thePlayer.worldObj.provider.dimensionId == mod_pocketDim.properties.LimboDimensionID &&
!Minecraft.getMinecraft().getSoundHandler().isSoundPlaying(limboMusic)) {
Minecraft.getMinecraft().getSoundHandler().playSound(limboMusic);