Permalink
Browse files

Merge pull request #330 from Europia79/vpcmdfix

Fixes issue 3315 with VirtualPlayers
  • Loading branch information...
me4502 committed Nov 24, 2018
2 parents ee8602b + 780b391 commit 8e18ecb645b34b1863898d8d7fd400038b67aba3
Showing with 3 additions and 4 deletions.
  1. +3 −4 worldedit-core/src/main/java/com/sk89q/worldedit/session/SessionManager.java
@@ -156,10 +156,9 @@ public synchronized LocalSession get(SessionOwner owner) {
session.setConfiguration(config);
session.setBlockChangeLimit(config.defaultChangeLimit);
// Remember the session if the session is still active
if (sessionKey.isActive()) {
sessions.put(getKey(owner), new SessionHolder(sessionKey, session));
}
// Remember the session regardless of if it's currently active or not.
// And have the SessionTracker FLUSH inactive sessions.
sessions.put(getKey(owner), new SessionHolder(sessionKey, session));
}
// Set the limit on the number of blocks that an operation can

0 comments on commit 8e18ecb

Please sign in to comment.