commanding-pipeline diff

This commit is contained in:
Jesse Boyd
2019-10-23 05:23:52 +01:00
parent fb91456bdd
commit 2080e9786b
193 changed files with 5449 additions and 3491 deletions

View File

@ -165,6 +165,7 @@ public class SessionManager {
session.setConfiguration(config);
session.setBlockChangeLimit(config.defaultChangeLimit);
session.setTimeout(config.calculationTimeout);
/*
try {
if (owner.hasPermission("worldedit.selection.pos")) {
setDefaultWand(session.getWandItem(), config.wandItem, session, new SelectionWand());
@ -178,6 +179,7 @@ public class SessionManager {
log.warn("Invalid wand tool set in config. Tool will not be assigned: " + e.getItemType());
}
}
*/
// Remember the session regardless of if it's currently active or not.
// And have the SessionTracker FLUSH inactive sessions.