From 2fc13ca258459e9c14c4a506c67b56284e133661 Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Fri, 31 Jul 2020 00:44:34 +0200 Subject: [PATCH] Fix bluemap not saving anything on shutdown on sponge --- .../main/java/de/bluecolored/bluemap/sponge/SpongePlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BlueMapSponge/src/main/java/de/bluecolored/bluemap/sponge/SpongePlugin.java b/BlueMapSponge/src/main/java/de/bluecolored/bluemap/sponge/SpongePlugin.java index 1cb01c3b..5ddabf19 100644 --- a/BlueMapSponge/src/main/java/de/bluecolored/bluemap/sponge/SpongePlugin.java +++ b/BlueMapSponge/src/main/java/de/bluecolored/bluemap/sponge/SpongePlugin.java @@ -135,6 +135,7 @@ public void registerListener(ServerEventListener listener) { @Override public void unregisterAllListeners() { Sponge.getEventManager().unregisterPluginListeners(this); + Sponge.getEventManager().registerListeners(this, this); } @Override