new-1.0
This commit is contained in:
parent
109845d5e4
commit
dde365448e
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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<>();
|
||||
|
|
|
@ -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 ]
|
Loading…
Reference in New Issue
Block a user