Fixes issue 3315 with VirtualPlayers

http://youtrack.sk89q.com/issue/WORLDEDIT-3315
This commit is contained in:
Europia79 2015-06-25 22:38:00 -05:00
parent 025591e6d9
commit eb43018ae2

View File

@ -155,9 +155,7 @@ public class SessionManager {
session.setBlockChangeLimit(config.defaultChangeLimit); session.setBlockChangeLimit(config.defaultChangeLimit);
// Remember the session if the session is still active // Remember the session if the session is still active
if (sessionKey.isActive()) { sessions.put(getKey(owner), new SessionHolder(sessionKey, session));
sessions.put(getKey(owner), new SessionHolder(sessionKey, session));
}
} }
// Set the limit on the number of blocks that an operation can // Set the limit on the number of blocks that an operation can