Skip to content

Commit ad9d654

Browse files
committed
fix crash on saving overworld.dat
1 parent 236a038 commit ad9d654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/earthcomputer/clientcommands/util/DebugRandom.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public DebugRandom(Level level) {
124124
super(RandomSupport.generateUniqueSeed());
125125

126126
this.tagToSaveSupplier = CompoundTag::new;
127-
this.idSupplier = () -> level.dimension().location().toString();
127+
this.idSupplier = () -> level.dimension().location().getPath();
128128

129129
this.stackTraces.add(this.stackTracesThisTick);
130130
try {

0 commit comments

Comments
 (0)