mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-20 16:04:04 +00:00
Implement missing methods in tests
This commit is contained in:
@@ -30,6 +30,8 @@ import org.bukkit.permissions.Permission;
|
||||
import org.bukkit.permissions.PermissionAttachment;
|
||||
import org.bukkit.permissions.PermissionAttachmentInfo;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.profile.PlayerProfile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.HashMap;
|
||||
@@ -146,6 +148,11 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
|
||||
return randomUuid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull PlayerProfile getPlayerProfile() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBanned() {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
|
Reference in New Issue
Block a user