Skip to content

Commit

Permalink
Update test permissible for latest API
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Jul 16, 2023
1 parent 1514661 commit 5d03b1e
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.");
Expand Down

0 comments on commit 5d03b1e

Please sign in to comment.