marcel0ll / CustomItems

The most simple way to add your custom items to minecraft
https://marcel0ll.github.io/CustomItems/
20 stars 19 forks source link

crash during block breaking #58

Closed Wahazar closed 1 year ago

Wahazar commented 7 years ago

I got crash during breaking Refractory Hopper from Foundry Mod (I didn't change any properties of this given block). There is a report: `java.lang.NullPointerException: Ticking memory connection at me.otho.customItems.mod.handler.BlockDropHandler.onBlockDrop(BlockDropHandler.java:46) at cpw.mods.fml.common.eventhandler.ASMEventHandler_51_BlockDropHandler_onBlockDrop_HarvestDropsEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.event.ForgeEventFactory.fireBlockHarvesting(ForgeEventFactory.java:155) at net.minecraft.block.Block.func_149690_a(Block.java:656) at net.minecraft.block.Block.func_149697_b(Block.java:648) at net.minecraft.block.Block.func_149636_a(Block.java:974) at net.minecraft.server.management.ItemInWorldManager.func_73084_b(ItemInWorldManager.java:299) at net.minecraft.server.management.ItemInWorldManager.func_73082_a(ItemInWorldManager.java:217) at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:498) at net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:53) at net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:8) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) -- Head -- Stacktrace: at me.otho.customItems.mod.handler.BlockDropHandler.onBlockDrop(BlockDropHandler.java:46) at cpw.mods.fml.common.eventhandler.ASMEventHandler_51_BlockDropHandler_onBlockDrop_HarvestDropsEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.event.ForgeEventFactory.fireBlockHarvesting(ForgeEventFactory.java:155) at net.minecraft.block.Block.func_149690_a(Block.java:656) at net.minecraft.block.Block.func_149697_b(Block.java:648) at net.minecraft.block.Block.func_149636_a(Block.java:974) at net.minecraft.server.management.ItemInWorldManager.func_73084_b(ItemInWorldManager.java:299) at net.minecraft.server.management.ItemInWorldManager.func_73082_a(ItemInWorldManager.java:217) at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:498) at net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:53) at net.minecraft.network.play.client.C07PacketPlayerDigging.func_148833_a(SourceFile:8) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

-- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@808c27 Stacktrace: at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) `