Chance Cubes

Chance Cubes

46M Downloads

[1.12.2] Maze Crashes Server on Restore

Kreming opened this issue ยท 1 comments

commented

Minecraft Version:

1.12.2

Forge Version:

14.23.5.2847

ChanceCubes Version:

5.0.2.345

Reward(s) Affected:

Maze

The Issue:

When the sign was broken at the end of the maze reward, the server crashed and only parts of the maze were deleted. Most of the bedrock structure remained. This was in the Twilight Forest dimension but the affected area did not seem to have anything besides normal terrain.

Origin:

Project Ozone 3-3.3.56

Logs:

https://pastebin.com/2D6rwnxP

Relevant excerpt:

Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
at chanceCubes.util.RewardBlockCache.restoreBlocks(RewardBlockCache.java:72)
at chanceCubes.util.MazeGenerator.endMaze(MazeGenerator.java:179)
at chanceCubes.rewards.defaultRewards.MazeReward$1.update(MazeReward.java:62)
at chanceCubes.util.Scheduler.tickTasks(Scheduler.java:39)
at chanceCubes.listeners.TickListener.onTick(TickListener.java:17)

commented

I'm not currently supporting 1.12, but I will make a fix to hopefully prevent this from happening in 1.14 and up