mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 13:36:55 +00:00
make bans and kicks not take too long
This commit is contained in:
@@ -65,7 +65,7 @@ public class PlexPlayer
|
||||
{
|
||||
}
|
||||
|
||||
public PlexPlayer(UUID playerUUID, boolean loadExtraData)
|
||||
public PlexPlayer(UUID playerUUID, boolean loadPunishments)
|
||||
{
|
||||
this.uuid = playerUUID;
|
||||
this.name = "";
|
||||
@@ -78,7 +78,7 @@ public class PlexPlayer
|
||||
|
||||
this.coins = 0;
|
||||
|
||||
if (loadExtraData)
|
||||
if (loadPunishments)
|
||||
{
|
||||
this.loadPunishments();
|
||||
// this.permissions.addAll(Plex.get().getSqlPermissions().getPermissions(this.uuid));
|
||||
|
||||
Reference in New Issue
Block a user