From 9c333d90ad337839a1148fd57f198155a95b80c7 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 22 Jun 2019 22:29:29 +0200 Subject: [PATCH] Adding reference --- src/de/steamwar/bungeecore/Persistent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/Persistent.java b/src/de/steamwar/bungeecore/Persistent.java index 2e41752..37c2f6d 100644 --- a/src/de/steamwar/bungeecore/Persistent.java +++ b/src/de/steamwar/bungeecore/Persistent.java @@ -36,6 +36,7 @@ public class Persistent extends Plugin implements Listener { @EventHandler public void onGReload(ProxyReloadEvent e){ + // Copied from https://www.spigotmc.org/resources/bungeepluginmanager-manage-your-bungee-plugin-at-runtime.63861/ PluginManager pluginManager = getProxy().getPluginManager(); Plugin bungeecore = pluginManager.getPlugin("BungeeCore"); ClassLoader pluginClassLoader = bungeecore.getClass().getClassLoader();