mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
fix: uncomment petitionServerCheckin method call
This commit is contained in:
@@ -54,7 +54,7 @@ public class LockstepDataSyncer extends DataSyncer {
|
|||||||
// If they are checked out, ask the server to check them back in and return false
|
// If they are checked out, ask the server to check them back in and return false
|
||||||
final Optional<String> server = getRedis().getUserCheckedOut(user);
|
final Optional<String> server = getRedis().getUserCheckedOut(user);
|
||||||
if (server.isPresent() && !server.get().equals(plugin.getServerName())) {
|
if (server.isPresent() && !server.get().equals(plugin.getServerName())) {
|
||||||
// getRedis().petitionServerCheckin(server.get(), user);
|
getRedis().petitionServerCheckin(server.get(), user);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user