3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Merge pull request #330 from Europia79/vpcmdfix

Fixes issue 3315 with VirtualPlayers
Dieser Commit ist enthalten in:
Matthew Miller 2018-11-24 13:16:56 +10:00 committet von GitHub
Commit 8e18ecb645
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -156,10 +156,9 @@ 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