From 0a04b0b4cd4c0d2285575bc5827390eece52a823 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 23 Feb 2022 11:25:10 +0100 Subject: [PATCH] tests: Fix StubServer --- .../test/java/com/fastasyncworldedit/util/StubServer.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java b/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java index 31413de9b..fcc79bf52 100644 --- a/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java +++ b/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java @@ -49,6 +49,7 @@ import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.ServicesManager; import org.bukkit.plugin.messaging.Messenger; +import org.bukkit.potion.PotionBrewer; import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.scoreboard.ScoreboardManager; import org.bukkit.structure.StructureManager; @@ -1078,6 +1079,11 @@ public class StubServer implements Server { return null; } + @Override + public @NotNull PotionBrewer getPotionBrewer() { + return null; + } + @Override public @NotNull Iterable audiences() {