Tropicraft

Tropicraft

9M Downloads

World Corruption when Wither Breaks Coconut

half-potato opened this issue ยท 0 comments

commented

Issue Description

World corruption when wither breaks coconut. MCedit required to fix.

Steps to Reproduce

  1. Spawn wither near coconut tree
  2. Wait for it to shoot a coconut (or spawn the wither next to a coconut)
  3. ????
  4. Profit

Tropicraft Version: 1.12.2-7.1.4.78
Forge Version: 1.12.2-14.23.4.2705

Crash log

java.lang.NullPointerException: Ticking entity                                                                                       
  at net.tropicraft.core.common.event.BlockEvents.handleCoconutBreakEvent(BlockEvents.java:72)                                       
  at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_610_BlockEvents_handleCoconutBreakEvent_HarvestDropsEvent.invoke(.dyn
amic)                                                                                                                                
  at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)                                      
  at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)                                                     
  at net.minecraftforge.event.ForgeEventFactory.fireBlockHarvesting(ForgeEventFactory.java:318)                                      
  at net.minecraft.block.Block.func_180653_a(Block.java:572)                                                                         
  at net.minecraft.world.Explosion.func_77279_a(Explosion.java:231)                                                                  
  at net.minecraft.world.WorldServer.func_72885_a(WorldServer.java:1170)                                                             
  at net.minecraft.entity.boss.EntityWither.func_70619_bc(EntityWither.java:258)                                                     
  at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:769)                                                          
  at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2350)                                                  
  at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577)                                                           
  at net.minecraft.entity.monster.EntityMob.func_70636_d(EntityMob.java:45)                                                          
  at net.minecraft.entity.boss.EntityWither.func_70636_d(EntityWither.java:188)                                                      
  at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2170)                                                 
  at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)                                                          
  at net.minecraft.entity.monster.EntityMob.func_70071_h_(EntityMob.java:50)                                                         
  at net.minecraft.world.World.func_72866_a(World.java:1990)                                                                         
  at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)                                                              
  at net.minecraft.world.World.func_72870_g(World.java:1952)                                                                         
  at net.minecraft.world.World.func_72939_s(World.java:1756)                                                                         
  at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)                                                              
  at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)                                                     
  at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)                                           
  at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)                                                     
  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)                                                              
  at java.lang.Thread.run(Unknown Source)