Added //fast mode, which allows the server to skip the dirtying of chunks. This means that you have to rejoin to see changes though, but most operations are doubled in speed.

This commit is contained in:
sk89q
2011-06-04 10:30:45 -07:00
parent d397460026
commit d881c14e2d
11 changed files with 514 additions and 23 deletions

View File

@ -1010,16 +1010,11 @@ public class WorldEdit {
}
LocalSession session = getSession(player);
BlockBag blockBag = session.getBlockBag(player);
session.tellVersion(player);
// Create an edit session
EditSession editSession =
new EditSession(player.getWorld(),
session.getBlockChangeLimit(), blockBag);
EditSession editSession = session.createEditSession(player);
editSession.enableQueue();
session.tellVersion(player);
long start = System.currentTimeMillis();
try {