Fix test compile error due to Spigot mid-version API break

This commit is contained in:
Madeline Miller 2023-07-02 20:55:16 +10:00
parent e90014db0e
commit 93e413c613
No known key found for this signature in database
GPG Key ID: B8EA2E5693115D81

View File

@ -19,6 +19,7 @@
package com.sk89q.wepif;
import org.bukkit.BanEntry;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
@ -32,6 +33,7 @@
import org.bukkit.plugin.Plugin;
import org.bukkit.profile.PlayerProfile;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
@ -155,6 +157,11 @@ public boolean isBanned() {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public BanEntry<PlayerProfile> ban(String reason, Date expires, String source) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public boolean isWhitelisted() {
throw new UnsupportedOperationException("Not supported yet.");