This commit is contained in:
坏黑 2019-05-28 22:41:05 +08:00
parent 2791f90c9c
commit a6b4246bd3

View File

@ -16,6 +16,10 @@ public abstract class NMSHandler {
private static NMSHandler handler; private static NMSHandler handler;
public static NMSHandler getHandler() {
return handler;
}
static void init() { static void init() {
try { try {
handler = (NMSHandler) SimpleVersionControl.createNMS("me.skymc.taboolib.common.nms.NMSHandlerImpl").translate().newInstance(); handler = (NMSHandler) SimpleVersionControl.createNMS("me.skymc.taboolib.common.nms.NMSHandlerImpl").translate().newInstance();