mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-09-27 13:02:35 +02:00
811d65b68a
This commit moves the loadable section of the compatibility plugin to an anonymous class to prevent misuse of that section of code.
10 lines
402 B
Java
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");
|
|
}
|
|
}
|