ChanceCubes
ChanceCubes copied to clipboard
Cake is a lie crash
Minecraft Version:
1.16.5Forge Version:
36.2.8ChanceCubes Version:
55.0.2.428Reward(s) Affected:
Cake is a lie
The Issue:
Eat cake in creative before it disappears, pack crashes
Origin:
darkosto
Please use one of these sites to provide logs: https://pastebin.com/5Q1kwVzm
So unfortunately with this issue, I don't think I can fix on Chance Cubes side. It seems that the Creeper that was spawned had some issue. Not sure what I can do from my end here....
Both "Cake is a lie" and "Wait for it" crash when spawning creepers, however, "CreeperSurroundedReward" and "WolvesToCreepersReward" don't.
The error seems to be with creeper.func_241841_a
, maybe something about that specifically changed?
https://github.com/TheTurkeyDev/ChanceCubes/blob/00b75e54f054f1ac6e7fa2971f97b2f59c6e1a43/src/main/java/chanceCubes/rewards/defaultRewards/WaitForItReward.java#L59 https://github.com/TheTurkeyDev/ChanceCubes/blob/cf5135715c8df1be16fa19249894ad1df4515c47/src/main/java/chanceCubes/rewards/defaultRewards/CakeIsALieReward.java#L60
(Sorry for this copy, my clipboard through SSH is bugged and I'm being lazy about fixing it. I cut out a bunch of stuff in {})
java.lang.NullPointerException: Exception in server tick loop
» at net.minecraft.entity.Entity.func_241841_a(Entity.java:1980) ~[?:?]
» at net.minecraft.entity.monster.CreeperEntity.func_241841_a(CreeperEntity.java:196) ~[?:?]
» at chanceCubes.rewards.defaultRewards.WaitForItReward$1.callback(WaitForItReward.java:59) ~[chancecubes:1.16.5-5.0.2.433] {re:classloading}
» at chanceCubes.util.Scheduler.tickTasks(Scheduler.java:34) ~[chancecubes:1.16.5-5.0.2.433] {re:classloading}
» at chanceCubes.listeners.TickListener.onTick(TickListener.java:16) ~[chancecubes:1.16.5-5.0.2.433] {re:classloading}
» at net.minecraftforge.eventbus.ASMEventHandler_1266_TickListener_onTick_ServerTickEvent.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.onPreServerTick(BasicEventHooks.java:115) ~[forge:?] {re:classloading}
» at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:785) ~[?:?]
» 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_302] {}
Interesting, that's the same method as above, but different stack trace. I'm not sure why this happens
Similar issue fixed by Botania devs:
https://github.com/VazkiiMods/Botania/issues/3796
That looks like a really annoying bug/ fix. I'll look into it on my end to see what I can do