From ad9d65469a385ccefcc53e78d4c95b19ffd4ff43 Mon Sep 17 00:00:00 2001 From: GuiTaekM Date: Sat, 15 Nov 2025 18:10:44 +0100 Subject: [PATCH] fix crash on saving overworld.dat --- .../java/net/earthcomputer/clientcommands/util/DebugRandom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java b/src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java index 641a7578..4c5df350 100644 --- a/src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java +++ b/src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java @@ -124,7 +124,7 @@ public DebugRandom(Level level) { super(RandomSupport.generateUniqueSeed()); this.tagToSaveSupplier = CompoundTag::new; - this.idSupplier = () -> level.dimension().location().toString(); + this.idSupplier = () -> level.dimension().location().getPath(); this.stackTraces.add(this.stackTracesThisTick); try {