From d6110013b8207f88cfafb08c8f67daf5e42c2f69 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 21 Dec 2021 00:42:46 +0100 Subject: [PATCH] tests: Add resource pack methods --- .../fastasyncworldedit/util/StubServer.java | 20 +++++++++++++++++++ 1 file changed, 20 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 e81e849f3..237b55903 100644 --- a/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java +++ b/worldedit-bukkit/src/test/java/com/fastasyncworldedit/util/StubServer.java @@ -155,6 +155,26 @@ public class StubServer implements Server { return false; } + @Override + public @NotNull String getResourcePack() { + return null; + } + + @Override + public @NotNull String getResourcePackHash() { + return null; + } + + @Override + public @NotNull String getResourcePackPrompt() { + return null; + } + + @Override + public boolean isResourcePackRequired() { + return false; + } + @Override public boolean hasWhitelist() { return false;