[1.1.9, SonarCore-3.2.6] NPE with controller tranmitter mode
jinks opened this issue ยท 4 comments
When activating transmitter mode in the network controller with 1.1.9 (to charge the inventory), Minecraft immediately crashes. It works fine in 1.1.7 and 1.1.8.
Crash log: https://gist.github.com/jinks/e11fc9dfe41ffc784d6159cb7c751de6
relevant NPE:
java.lang.NullPointerException: Ticking block entity
at sonar.core.handlers.container.SonarItemHandler.canHandleItem(SonarItemHandler.java:18)
at sonar.flux.connection.FluxHelper.canTransferEnergy(FluxHelper.java:171)
at sonar.flux.connection.FluxHelper.pushEnergy(FluxHelper.java:116)
at sonar.flux.connection.BasicFluxNetwork.receiveEnergy(BasicFluxNetwork.java:241)
at sonar.flux.common.tileentity.TileEntityPlug.receiveEnergy(TileEntityPlug.java:42)
at mcjty.lib.varia.EnergyTools.receiveEnergy(EnergyTools.java:117)
at mcjty.rftools.blocks.powercell.PowerCellTileEntity.sendOutEnergy(PowerCellTileEntity.java:310)
at mcjty.rftools.blocks.powercell.PowerCellTileEntity.func_73660_a(PowerCellTileEntity.java:260)
at net.minecraft.world.World.func_72939_s(World.java:1804)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:620)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:745)
@jinks Thanks :) Anyway it could be improved further?
Damn, you're quick. :-D
F-N is very quickly becoming my favourite power transfer mod.