From 5d03b1e682bf3bc899f6d71c824ba21cfee769db Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Sun, 16 Jul 2023 20:10:36 +1000 Subject: [PATCH] Update test permissible for latest API --- .../java/com/sk89q/wepif/TestOfflinePermissible.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java b/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java index 457213453..5024fbebd 100644 --- a/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java +++ b/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java @@ -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 ban(String reason, Date expires, String source) { throw new UnsupportedOperationException("Not supported yet."); } + @Override + public BanEntry ban(String reason, Instant expires, String source) { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public BanEntry ban(String reason, Duration duration, String source) { + throw new UnsupportedOperationException("Not supported yet."); + } + @Override public boolean isWhitelisted() { throw new UnsupportedOperationException("Not supported yet.");