geforkt von Mirrors/FastAsyncWorldEdit
Enabled queue on EditSessions given to scripts.
Dieser Commit ist enthalten in:
Ursprung
d5173a8763
Commit
888699cae0
@ -930,6 +930,7 @@ public class WorldEdit {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
for (EditSession editSession : scriptContext.getEditSessions()) {
|
||||
editSession.flushQueue();
|
||||
session.remember(editSession);
|
||||
}
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ public class CraftScriptContext extends CraftScriptEnvironment {
|
||||
EditSession editSession =
|
||||
new EditSession(server, player.getWorld(),
|
||||
session.getBlockChangeLimit(), session.getBlockBag(player));
|
||||
editSession.enableQueue();
|
||||
editSessions.add(editSession);
|
||||
return editSession;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren