Dynamic Trees

Dynamic Trees

25M Downloads

Occasional crash when breaking a tree branch

Harleyoc1 opened this issue ยท 0 comments

commented

Some users of the beta for 1.16.5 have been reporting a crash when breaking down trees.

Stacktrace

java.lang.NullPointerException: Exception in server tick loop
	at com.ferreusveritas.dynamictrees.util.BranchDestructionData.convertBranchesToIntArrays(BranchDestructionData.java:118) ~[main/:?] {re:classloading}
	at com.ferreusveritas.dynamictrees.util.BranchDestructionData.<init>(BranchDestructionData.java:56) ~[main/:?] {re:classloading}
	at com.ferreusveritas.dynamictrees.blocks.branches.BranchBlock.destroyBranchFromNode(BranchBlock.java:287) ~[main/:?] {re:classloading}
	at com.ferreusveritas.dynamictrees.blocks.branches.BranchBlock.futureBreak(BranchBlock.java:405) ~[main/:?] {re:classloading}
	at com.ferreusveritas.dynamictrees.event.FutureBreak.process(FutureBreak.java:47) ~[main/:?] {re:classloading}
	at com.ferreusveritas.dynamictrees.event.handlers.CommonEventHandler.onWorldTick(CommonEventHandler.java:37) ~[main/:?] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_54_CommonEventHandler_onWorldTick_WorldTickEvent.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.fml.hooks.BasicEventHooks.onPreWorldTick(BasicEventHooks.java:95) ~[forge:?] {re:classloading}
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:882) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:821) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:84) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:664) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233) ~[forge:?] {re:classloading,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_261] {}