Skip to content

Commit

Permalink
v1.15 - improve worldedit mod efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
Eredrim committed Apr 24, 2020
1 parent 5a7caf3 commit 8c6a61d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ private void load(final ArenaRegion ars, final String regionName) {
ClipboardHolder holder=new ClipboardHolder(clipboard);

EditSession editSession=worldEdit.getEditSessionFactory().getEditSession(bukkitWorld, size);
editSession.enableQueue();
editSession.setReorderMode(EditSession.ReorderMode.FAST);
editSession.setFastMode(true);
BlockVector3 to = BlockVector3.at(loc.getX(), loc.getY(), loc.getZ());
Operation operation=holder.createPaste(editSession).to(to).ignoreAirBlocks(!arena.getArenaConfig().getBoolean(CFG.MODULES_WORLDEDIT_REPLACEAIR)).build();
Expand Down

0 comments on commit 8c6a61d

Please sign in to comment.