Remove the system property check for uuidOverride (#459)

as it caused a server timeout...
https://pastebin.com/z5ktU8r3
This commit is contained in:
Jesse Boyd 2019-04-11 12:39:56 +10:00 committed by wizjany
parent ec0422d682
commit b5e1f3dbc3

View File

@ -243,13 +243,8 @@ public class SessionManager {
* @return the key object * @return the key object
*/ */
protected UUID getKey(SessionKey key) { protected UUID getKey(SessionKey key) {
String forcedKey = System.getProperty("worldedit.session.uuidOverride");
if (forcedKey != null) {
return UUID.fromString(forcedKey);
} else {
return key.getUniqueId(); return key.getUniqueId();
} }
}
/** /**
* Remove the session for the given owner if one exists. * Remove the session for the given owner if one exists.