Skip to content

Commit 33cf86f

Browse files
authored
try fix: corruption
1 parent 976a493 commit 33cf86f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/fr/openmc/core/features/cube

src/main/java/fr/openmc/core/features/cube/Cube.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void run() {
235235

236236
if (isPartOf(new Location(origin.getWorld(), x, y, z))) continue;
237237

238-
Location loc = center.add(x, y, z);
238+
Location loc = center.clone().add(x, y, z);
239239
Block block = loc.getBlock();
240240
Material type = block.getType();
241241

0 commit comments

Comments
 (0)