new-1.0
This commit is contained in:
parent
109845d5e4
commit
dde365448e
4
pom.xml
4
pom.xml
|
@ -81,13 +81,13 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.papermc.paper</groupId>
|
<groupId>io.papermc.paper</groupId>
|
||||||
<artifactId>paper-api</artifactId>
|
<artifactId>paper-api</artifactId>
|
||||||
<version>1.20.1-R0.1-SNAPSHOT</version>
|
<version>1.20.4-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot</artifactId>
|
<artifactId>spigot</artifactId>
|
||||||
<version>1.20.1</version>
|
<version>1.20.4</version>
|
||||||
<classifier>nms</classifier>
|
<classifier>nms</classifier>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.io.yutian.elementoriginlib;
|
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.GuiHandlerListener;
|
||||||
import com.io.yutian.elementoriginlib.listener.PlayerChatInputListener;
|
import com.io.yutian.elementoriginlib.listener.PlayerChatInputListener;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
@ -12,6 +13,9 @@ public final class ElementOriginLib extends JavaPlugin {
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
|
Lang.registerLangFile(this);
|
||||||
|
Lang.reload();
|
||||||
|
|
||||||
new GuiHandlerListener(this);
|
new GuiHandlerListener(this);
|
||||||
new PlayerChatInputListener(this);
|
new PlayerChatInputListener(this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,7 +152,7 @@ public interface INBT {
|
||||||
return new NBTByteArray(tagByteArray.e());
|
return new NBTByteArray(tagByteArray.e());
|
||||||
case 8:
|
case 8:
|
||||||
NBTTagString nbtTagString = (NBTTagString) nbtBase;
|
NBTTagString nbtTagString = (NBTTagString) nbtBase;
|
||||||
return new NBTString(nbtTagString.m_());
|
return new NBTString(nbtTagString.t_());
|
||||||
case 9:
|
case 9:
|
||||||
NBTTagList nbtTagList = (NBTTagList) nbtBase;
|
NBTTagList nbtTagList = (NBTTagList) nbtBase;
|
||||||
List<INBT> list = new ArrayList<>();
|
List<INBT> list = new ArrayList<>();
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: ElementOriginLib
|
name: ElementOriginLib
|
||||||
version: '1.3.6'
|
version: '1.0'
|
||||||
main: com.io.yutian.elementoriginlib.ElementOriginLib
|
main: com.io.yutian.elementoriginlib.ElementOriginLib
|
||||||
api-version: '1.20'
|
api-version: '1.20'
|
||||||
authors: [ SuperYuTian ]
|
authors: [ SuperYuTian ]
|
Loading…
Reference in New Issue
Block a user