Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divine Mission Datapack crashes server #138

Open
Ezoteric opened this issue Sep 13, 2021 · 0 comments
Open

Divine Mission Datapack crashes server #138

Ezoteric opened this issue Sep 13, 2021 · 0 comments

Comments

@Ezoteric
Copy link

Any change i add to a datapack that changes anything divine mission related crashes randomly after it refreshes tasks.

Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
at com.robertx22.divine_missions.saving.TaskData.createNew(TaskData.java:25)
at com.robertx22.divine_missions.mission_gen.MissionUtil.createRandom(MissionUtil.java:106)
at com.robertx22.divine_missions.mission_gen.MissionUtil.createRandomMissionItem(MissionUtil.java:32)
at com.robertx22.divine_missions.components.data.PlayerMissionData.generateNew(PlayerMissionData.java:43)
at com.robertx22.divine_missions.components.data.PlayerMissionData.onTick(PlayerMissionData.java:32)
at com.robertx22.divine_missions.main.EventRegister.lambda$null$0(EventRegister.java:27)
at com.robertx22.divine_missions.main.EventRegister$$Lambda$10611/256342706.accept(Unknown Source)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at com.robertx22.divine_missions.main.EventRegister.lambda$reg$1(EventRegister.java:26)
at com.robertx22.divine_missions.main.EventRegister$$Lambda$3373/375003844.onEndTick(Unknown Source)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$2(ServerTickEvents.java:62)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents$$Lambda$2698/1151207059.onEndTick(Unknown Source)
at net.minecraft.server.MinecraftServer.handler$caf001$onEndTick(MinecraftServer.java:7763)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:853)
at net.minecraft.class_1132.method_3748(class_1132.java:118)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at net.minecraft.server.MinecraftServer$$Lambda$8701/1762590100.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant