SubServers-2/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Library/Compatibility/Plugin.java
ME1312 811d65b68a
Secure the compatibility plugin
This commit moves the loadable section of the compatibility plugin to an anonymous class to prevent misuse of that section of code.
2021-02-15 00:28:06 -05:00

10 lines
402 B
Java

package net.ME1312.SubServers.Bungee.Library.Compatibility;
public final class Plugin extends net.md_5.bungee.api.plugin.Plugin {
@Deprecated
public Plugin() {
throw new IllegalStateException("SubServers.Bungee does not run as a plugin, but a wrapper. For more information on how to install, please visit this page: https://github.com/ME1312/SubServers-2/wiki/Installation");
}
}