Waystones (Outdated Versions)

Waystones (Outdated Versions)

4M Downloads

Game Crashing when opening undiscovered Waystones

VugasDev opened this issue ยท 2 comments

commented

Minecraft Version

1.20.1 (LTS)

Mod Loader

Fabric

Describe the Issue

Whenever someone opens a undiscovered Waystone, no matter if generated or placed by another player, it crashes their game... Global Waystones also seem to not work, but it was hard to test as of yet.

Logs

ava.lang.NullPointerException: Cannot invoke "folk.sisby.surveyor.landmark.WorldLandmarks.put(net.minecraft.class_1937, folk.sisby.surveyor.landmark.Landmark)" because the return value of "folk.sisby.surveyor.WorldSummary.landmarks()" is null
at knot//folk.sisby.surveystones.BlaystoneEvents.addWaystone(BlaystoneEvents.java:35)
at knot//folk.sisby.surveystones.BlaystoneEvents.updateWaystone(BlaystoneEvents.java:31)
at knot//folk.sisby.surveystones.BlaystoneEvents.activateWaystone(BlaystoneEvents.java:44)
at knot//net.blay09.mods.balm.fabric.event.FabricBalmEvents.fireEventHandler(FabricBalmEvents.java:41)
at knot//net.blay09.mods.balm.fabric.event.FabricBalmEvents.lambda$fireEventHandlers$0(FabricBalmEvents.java:36)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at knot//net.blay09.mods.balm.fabric.event.FabricBalmEvents.fireEventHandlers(FabricBalmEvents.java:36)
at knot//net.blay09.mods.balm.fabric.event.FabricBalmEvents.fireEvent(FabricBalmEvents.java:61)
at knot//net.blay09.mods.waystones.core.PlayerWaystoneManager.activateWaystone(PlayerWaystoneManager.java:125)
at knot//net.blay09.mods.waystones.block.WaystoneBlock.handleActivation(WaystoneBlock.java:96)
at knot//net.blay09.mods.waystones.block.WaystoneBlockBase.method_9534(WaystoneBlockBase.java:298)
at knot//net.minecraft.class_4970$class_4971.method_26174(class_4970.java:1133)
at knot//net.minecraft.class_636.method_41934(class_636.java:347)
at knot//net.minecraft.class_636.method_41933(class_636.java:324)
at knot//net.minecraft.class_636.method_41931(class_636.java:278)
at knot//net.minecraft.class_636.method_2896(class_636.java:323)
at knot//net.minecraft.class_310.method_1583(class_310.java:1802)
at knot//net.minecraft.class_310.method_1508(class_310.java:2052)
at knot//net.minecraft.class_310.method_1574(class_310.java:1883)
at knot//net.minecraft.class_310.method_1523(class_310.java:1181)
at knot//net.minecraft.class_310.method_1514(class_310.java:802)
at knot//net.minecraft.client.main.Main.main(Main.java:250)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

commented

This is an issue in Surveystones or Surveyor, not Waystones.

commented

Yeah, after me not being dumb for 5 seconds, unlike yesterday and reading the crash log again i figured that one out aswell.
Thank you for the quick answer tho!