9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-26 10:09:10 +00:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
William
2023-01-03 11:51:29 +00:00
7 changed files with 28 additions and 1 deletions

View File

@@ -165,4 +165,6 @@ public interface HuskSync {
*/
CompletableFuture<Boolean> reload();
Set<UUID> getLockedPlayers();
}

View File

@@ -236,4 +236,8 @@ public abstract class EventListener {
plugin.getRedisManager().close();
}
public final Set<UUID> getLockedPlayers() {
return this.lockedPlayers;
}
}

View File

@@ -371,4 +371,10 @@ public abstract class OnlineUser extends User {
});
}
/**
* Get if the player is locked
*
* @return the player's locked status
*/
public abstract boolean isLocked();
}