Try changing visibility on ProtocolLogger#init

Addresses #740
This commit is contained in:
Dan Mulloy 2019-12-26 11:34:33 -05:00
parent 25a5f1d07f
commit 1a434e9ea2
No known key found for this signature in database
GPG Key ID: 2B62F7DACFF133E8

View File

@ -29,7 +29,12 @@ public class ProtocolLogger {
private static boolean debugEnabled = false;
private static Logger logger = Logger.getLogger("Minecraft");
protected static void init(Plugin plugin) {
/**
* Don't call this method from any plugin. Currently only public to test if it fixes a weird error.
* See GH-740
* @param plugin ProtocolLib
*/
public static void init(ProtocolLib plugin) {
logger = plugin.getLogger();
try {