This commit is contained in:
YuTian 2024-08-08 16:00:49 +08:00
parent 109845d5e4
commit dde365448e
4 changed files with 9 additions and 5 deletions

View File

@ -81,13 +81,13 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.20.1</version>
<version>1.20.4</version>
<classifier>nms</classifier>
<scope>provided</scope>
</dependency>

View File

@ -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);
}

View File

@ -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<INBT> list = new ArrayList<>();

View File

@ -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 ]