mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-02-26 01:12:29 +01:00
parent
25a5f1d07f
commit
1a434e9ea2
@ -29,7 +29,12 @@ public class ProtocolLogger {
|
|||||||
private static boolean debugEnabled = false;
|
private static boolean debugEnabled = false;
|
||||||
private static Logger logger = Logger.getLogger("Minecraft");
|
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();
|
logger = plugin.getLogger();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user