diff --git a/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java b/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java index b970359..53d2d5d 100644 --- a/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java +++ b/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java @@ -1,5 +1,6 @@ package com.io.yutian.elementoriginlib; +import com.io.yutian.elementoriginlib.listener.GuiHandlerListener; import org.bukkit.plugin.java.JavaPlugin; public final class ElementOriginLib extends JavaPlugin { @@ -8,6 +9,9 @@ public final class ElementOriginLib extends JavaPlugin { @Override public void onEnable() { + instance = this; + + new GuiHandlerListener(this); } @Override diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 39f63f4..bede30c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: ElementOriginLib -version: '1.2.1' +version: '1.3' main: com.io.yutian.elementoriginlib.ElementOriginLib api-version: '1.20' authors: [ SuperYuTian ]