mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Added getUniqueId() to TestOfflinePermissible.
This commit is contained in:
parent
69797cfbea
commit
0148e8bcc6
@ -28,13 +28,11 @@ import org.bukkit.permissions.PermissionAttachment;
|
||||
import org.bukkit.permissions.PermissionAttachmentInfo;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
public class TestOfflinePermissible implements OfflinePlayer, Permissible {
|
||||
private boolean op;
|
||||
private UUID randomUuid = UUID.randomUUID();
|
||||
|
||||
private final Map<String, Boolean> assignedPermissions = new HashMap<String, Boolean>();
|
||||
|
||||
@ -119,6 +117,10 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
|
||||
return "Tester";
|
||||
}
|
||||
|
||||
public UUID getUniqueId() {
|
||||
return randomUuid;
|
||||
}
|
||||
|
||||
public boolean isBanned() {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user