NullPointer at TileEntityDoorGeneric caused by ProjectE mod
ChrisL97 opened this issue ยท 2 comments
Im hosting a server with my friend when suddenly the server crashed.
net.minecraft.util.ReportedException: Ticking block entity
Caused by: java.lang.NullPointerException
at com.hbm.tileentity.TileEntityDoorGeneric.func_73660_a(TileEntityDoorGeneric.java:66) ~[TileEntityDoorGeneric.class:1.9.7]
at moze_intel.projecte.gameObjs.items.TimeWatch.speedUpTileEntities(TimeWatch.java:213) ~[TimeWatch.class:?]
at moze_intel.projecte.gameObjs.items.TimeWatch.updateInPedestal(TimeWatch.java:355) ~[TimeWatch.class:?]
at moze_intel.projecte.gameObjs.tiles.DMPedestalTile.func_73660_a(DMPedestalTile.java:45) ~[DMPedestalTile.class:?]
What caused the crash was that doorType
was null, and I do place a Dark Matter Pedestal next to a safty door.
Currently I write a if-null-return at the begining of update()
at TileEntityDoorGeneric
and it works pritty well (at least no crash).