Update test permissible for latest API

This commit is contained in:
Madeline Miller 2023-07-16 20:10:36 +10:00
parent 1514661d72
commit 5d03b1e682
No known key found for this signature in database
GPG Key ID: B8EA2E5693115D81

View File

@ -33,6 +33,8 @@
import org.bukkit.plugin.Plugin;
import org.bukkit.profile.PlayerProfile;
import java.time.Duration;
import java.time.Instant;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
@ -162,6 +164,16 @@ public BanEntry<PlayerProfile> ban(String reason, Date expires, String source) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public BanEntry<PlayerProfile> ban(String reason, Instant expires, String source) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public BanEntry<PlayerProfile> ban(String reason, Duration duration, String source) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public boolean isWhitelisted() {
throw new UnsupportedOperationException("Not supported yet.");