From acbdcd3ce36366729faf2b7863338ae7c53baa50 Mon Sep 17 00:00:00 2001 From: Kristian Knarvik Date: Tue, 25 Jan 2022 15:34:27 +0100 Subject: [PATCH] Fixes a hang caused by MockBukkit --- src/test/java/net/knarcraft/stargate/portal/GateLayoutTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/net/knarcraft/stargate/portal/GateLayoutTest.java b/src/test/java/net/knarcraft/stargate/portal/GateLayoutTest.java index 5f85dbe..c8bf07c 100644 --- a/src/test/java/net/knarcraft/stargate/portal/GateLayoutTest.java +++ b/src/test/java/net/knarcraft/stargate/portal/GateLayoutTest.java @@ -32,6 +32,7 @@ public class GateLayoutTest { @AfterAll public static void tearDown() { + MockBukkit.getMock().getPluginManager().disablePlugins(); MockBukkit.unmock(); }