mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-10 17:57:37 +00:00
Merge pull request #330 from Europia79/vpcmdfix
Fixes issue 3315 with VirtualPlayers
This commit is contained in:
commit
8e18ecb645
@ -156,11 +156,10 @@ public class SessionManager {
|
|||||||
session.setConfiguration(config);
|
session.setConfiguration(config);
|
||||||
session.setBlockChangeLimit(config.defaultChangeLimit);
|
session.setBlockChangeLimit(config.defaultChangeLimit);
|
||||||
|
|
||||||
// Remember the session if the session is still active
|
// Remember the session regardless of if it's currently active or not.
|
||||||
if (sessionKey.isActive()) {
|
// And have the SessionTracker FLUSH inactive sessions.
|
||||||
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
|
||||||
// change at once, or don't if the owner has an override or there
|
// change at once, or don't if the owner has an override or there
|
||||||
|
Loading…
Reference in New Issue
Block a user