Adding reference
Dieser Commit ist enthalten in:
Ursprung
cda5ef98da
Commit
9c333d90ad
@ -36,6 +36,7 @@ public class Persistent extends Plugin implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onGReload(ProxyReloadEvent e){
|
public void onGReload(ProxyReloadEvent e){
|
||||||
|
// Copied from https://www.spigotmc.org/resources/bungeepluginmanager-manage-your-bungee-plugin-at-runtime.63861/
|
||||||
PluginManager pluginManager = getProxy().getPluginManager();
|
PluginManager pluginManager = getProxy().getPluginManager();
|
||||||
Plugin bungeecore = pluginManager.getPlugin("BungeeCore");
|
Plugin bungeecore = pluginManager.getPlugin("BungeeCore");
|
||||||
ClassLoader pluginClassLoader = bungeecore.getClass().getClassLoader();
|
ClassLoader pluginClassLoader = bungeecore.getClass().getClassLoader();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren