From 93e413c6138fafa979982ee5ae99b8959a25ff0a Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Sun, 2 Jul 2023 20:55:16 +1000 Subject: [PATCH] Fix test compile error due to Spigot mid-version API break --- .../test/java/com/sk89q/wepif/TestOfflinePermissible.java | 7 +++++++ 1 file changed, 7 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 31c969b323..457213453e 100644 --- a/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java +++ b/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java @@ -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 ban(String reason, Date expires, String source) { + throw new UnsupportedOperationException("Not supported yet."); + } + @Override public boolean isWhitelisted() { throw new UnsupportedOperationException("Not supported yet.");