This commit is contained in:
Jesse Boyd 2015-11-18 23:44:52 +11:00
parent 1169b42fab
commit 35fa2bc7df
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: FastAsyncWorldEdit name: FastAsyncWorldEdit
main: com.boydti.fawe.bukkit.FaweBukkit main: com.boydti.fawe.bukkit.FaweBukkit
version: 1.1.4 version: 1.2.0
description: Fast Async WorldEdit plugin description: Fast Async WorldEdit plugin
authors: [Empire92] authors: [Empire92]
loadbefore: [WorldEdit] loadbefore: [WorldEdit]

View File

@ -240,7 +240,9 @@ public class EditSession implements Extent {
String name = actor.getName(); String name = actor.getName();
FawePlayer<Object> fp = FawePlayer.wrap(name); FawePlayer<Object> fp = FawePlayer.wrap(name);
LocalSession session = fp.getSession(); LocalSession session = fp.getSession();
fastmode = session.hasFastMode(); if (fastmode = session.hasFastMode()) {
session.clearHistory();
}
if (fp.hasWorldEditBypass()) { if (fp.hasWorldEditBypass()) {
// Bypass skips processing and area restrictions // Bypass skips processing and area restrictions
extent = new FastWorldEditExtent(world, thread); extent = new FastWorldEditExtent(world, thread);