diff --git a/pom.xml b/pom.xml
index 409f972..b592756 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,13 +81,13 @@
io.papermc.paper
paper-api
- 1.20.1-R0.1-SNAPSHOT
+ 1.20.4-R0.1-SNAPSHOT
provided
org.spigotmc
spigot
- 1.20.1
+ 1.20.4
nms
provided
diff --git a/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java b/src/main/java/com/io/yutian/elementoriginlib/ElementOriginLib.java
index 183235a..bd2e2e3 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.lang.Lang;
import com.io.yutian.elementoriginlib.listener.GuiHandlerListener;
import com.io.yutian.elementoriginlib.listener.PlayerChatInputListener;
import org.bukkit.plugin.java.JavaPlugin;
@@ -12,6 +13,9 @@ public final class ElementOriginLib extends JavaPlugin {
public void onEnable() {
instance = this;
+ Lang.registerLangFile(this);
+ Lang.reload();
+
new GuiHandlerListener(this);
new PlayerChatInputListener(this);
}
diff --git a/src/main/java/com/io/yutian/elementoriginlib/nbt/INBT.java b/src/main/java/com/io/yutian/elementoriginlib/nbt/INBT.java
index 869cdd0..65ee04b 100644
--- a/src/main/java/com/io/yutian/elementoriginlib/nbt/INBT.java
+++ b/src/main/java/com/io/yutian/elementoriginlib/nbt/INBT.java
@@ -152,7 +152,7 @@ public interface INBT {
return new NBTByteArray(tagByteArray.e());
case 8:
NBTTagString nbtTagString = (NBTTagString) nbtBase;
- return new NBTString(nbtTagString.m_());
+ return new NBTString(nbtTagString.t_());
case 9:
NBTTagList nbtTagList = (NBTTagList) nbtBase;
List list = new ArrayList<>();
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index fb0dbb6..8505818 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,5 +1,5 @@
name: ElementOriginLib
-version: '1.3.6'
+version: '1.0'
main: com.io.yutian.elementoriginlib.ElementOriginLib
api-version: '1.20'
-authors: [ SuperYuTian ]
+authors: [ SuperYuTian ]
\ No newline at end of file