Hbm's Nuclear Tech - Extended Edition

Hbm's Nuclear Tech - Extended Edition

292k Downloads

NullPointer at TileEntityDoorGeneric caused by ProjectE mod

ChrisL97 opened this issue ยท 2 comments

commented

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).

commented

image attached, the safty door block is null which crashed the games before
1689093463542

commented

Fixed in dev. Will be in the next update