Fix recursivePickaxe

Dieser Commit ist enthalten in:
Aurora 2020-05-26 10:11:59 +02:00 committet von dordsor21
Ursprung 736bd54e20
Commit 255c20f4ad

Datei anzeigen

@ -79,9 +79,7 @@ public class RecursivePickaxe implements BlockTool {
final BlockReplace replace = new BlockReplace(editSession, (BlockTypes.AIR.getDefaultState())); final BlockReplace replace = new BlockReplace(editSession, (BlockTypes.AIR.getDefaultState()));
editSession.setMask(null); editSession.setMask(null);
RecursiveVisitor visitor = new RecursiveVisitor(new IdMask(editSession), replace, radius); RecursiveVisitor visitor = new RecursiveVisitor(new IdMask(editSession), replace, radius);
visitor.visit(pos); recurse(server, editSession, world, pos, origin, radius, initialType, visitor.getVisited());
Operations.completeBlindly(visitor);
editSession.flushQueue(); editSession.flushQueue();
session.remember(editSession); session.remember(editSession);
} }