fix(HoleManager): change stored holes position type to immutable one

This commit is contained in:
cattyngmd
2026-10-14 00:17:57 +03:00
parent f25f58b758
commit 69fdd6188d
@@ -47,7 +47,7 @@ public class HoleManager extends Feature {
if (block == Blocks.OBSIDIAN) type = HoleType.UNSAFE;
else if (block != Blocks.BEDROCK) return null;
}
return new Hole(pos, type);
return new Hole(pos.immutable(), type);
}
public List<Hole> getHoles() {