Incompatibility with Pixelmon 9.0.0
Mod Version Tardis-Mod-1.16.5-1.5.4.jar
Describe the bug The game crashes when the Tardis opens after feeding it items and having it open as well as having a Pixelmon spawned. The Tardis does not crash the game before the Tardis is opened or if there are no Pixelmon spawned.
To Reproduce Steps to reproduce the behavior:
- Have Pixelmon 9.0.0 and Tardis Mod 1.5.4 downloaded
- Open a world in creative and place a Tardis exterior down.
- Spawn a Pixelmon or wait for a Pixelmon to spawn in the area.
- Feed the Tardis an accepted item like clocks until it opens.
- See game crash, or try to enter the Tardis then see the game crash.
Expected behavior Expected behavior is that I will be able to enter the Tardis and continue the mod as normal.
Screenshots and Crash reports
[07:12:45] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Ticking block entity
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:855) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.lang.NullPointerException
at com.pixelmonmod.pixelmon.entities.pixelmon.AbstractMovesEntity.getFlyHeight(AbstractMovesEntity.java:251) ~[pixelmon:1.16.5-9.0.0]
at com.pixelmonmod.pixelmon.entities.pixelmon.AbstractMovesEntity.serializeNBT(AbstractMovesEntity.java:278) ~[pixelmon:1.16.5-9.0.0]
at net.tardis.mod.boti.stores.EntityStorage.<init>(EntityStorage.java:61) ~[tardis:1.5.4]
at net.tardis.mod.boti.BotiHandler.gatherEntities(BotiHandler.java:199) ~[tardis:1.5.4]
at net.tardis.mod.boti.BotiHandler.updateBoti(BotiHandler.java:116) ~[tardis:1.5.4]
at net.tardis.mod.tileentities.exteriors.ExteriorTile.lambda$null$17(ExteriorTile.java:973) ~[tardis:1.5.4]
at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:151) ~[forge:?]
at net.tardis.mod.tileentities.exteriors.ExteriorTile.lambda$buildBoti$18(ExteriorTile.java:968) ~[tardis:1.5.4]
at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_312]
at net.tardis.mod.tileentities.exteriors.ExteriorTile.buildBoti(ExteriorTile.java:967) ~[tardis:1.5.4]
at net.tardis.mod.tileentities.exteriors.ExteriorTile.updateOrBuildBoti(ExteriorTile.java:995) ~[tardis:1.5.4]
at net.tardis.mod.tileentities.exteriors.ExteriorTile.func_73660_a(ExteriorTile.java:349) ~[tardis:1.5.4]
at net.minecraft.world.World.func_217391_K(World.java:491) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:371) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?]
... 5 more