NametagEdit

721k Downloads

Does not work in version 1.18/1.18.2

HotWaterFlask opened this issue · 0 comments

commented

Does not work in version 1.18/1.18.2
1.18.1 is not tested,But it probably won't work either。

Log:
[00:03:08 INFO]: [NametagEdit] Enabling NametagEdit v4.4.10*
[00:03:08 WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_18_R2.PacketPlayOutScoreboardTeam
[00:03:08 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151)
[00:03:08 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103)
[00:03:08 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[00:03:08 WARN]: at java.base/java.lang.Class.forName0(Native Method)
[00:03:08 WARN]: at java.base/java.lang.Class.forName(Class.java:375)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.packets.PacketAccessor.(PacketAccessor.java:59)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.packets.PacketWrapper.(PacketWrapper.java:25)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.testCompat(NametagEdit.java:90)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.onEnable(NametagEdit.java:40)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
[00:03:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431)
[00:03:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:316)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1163)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
[00:03:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[00:03:08 WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_18_R2.ChatComponentText
[00:03:08 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151)
[00:03:08 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103)
[00:03:08 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[00:03:08 WARN]: at java.base/java.lang.Class.forName0(Native Method)
[00:03:08 WARN]: at java.base/java.lang.Class.forName(Class.java:375)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.packets.PacketWrapper.(PacketWrapper.java:28)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.testCompat(NametagEdit.java:90)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.onEnable(NametagEdit.java:40)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
[00:03:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431)
[00:03:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:316)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1163)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
[00:03:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[00:03:08 WARN]: java.lang.NullPointerException: Cannot invoke "java.lang.Class.newInstance()" because "com.nametagedit.plugin.packets.PacketAccessor.packetClass" is null
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.packets.PacketAccessor.createPacket(PacketAccessor.java:123)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.packets.PacketWrapper.(PacketWrapper.java:18)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.testCompat(NametagEdit.java:90)
[00:03:08 WARN]: at NametagEdit.jar//com.nametagedit.plugin.NametagEdit.onEnable(NametagEdit.java:40)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[00:03:08 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
[00:03:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560)
[00:03:08 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431)
[00:03:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:316)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1163)
[00:03:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
[00:03:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[00:03:08 INFO]: [NametagEdit] Disabling NametagEdit v4.4.10
[00:03:08 ERROR]: Error occurred while disabling NametagEdit v4.4.10 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "com.nametagedit.plugin.NametagManager.reset()" because "this.manager" is null
at com.nametagedit.plugin.NametagEdit.onDisable(NametagEdit.java:73) ~[NametagEdit.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:578) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at com.nametagedit.plugin.NametagEdit.testCompat(NametagEdit.java:93) ~[NametagEdit.jar:?]
at com.nametagedit.plugin.NametagEdit.onEnable(NametagEdit.java:40) ~[NametagEdit.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560) ~[paper-1.18.2.jar:git-Paper-310]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474) ~[paper-1.18.2.jar:git-Paper-310]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664) ~[paper-1.18.2.jar:git-Paper-310]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.18.2.jar:git-Paper-310]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-310]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-310]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-310]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[00:03:08 ERROR]: [NametagEdit]

[WARNING] NametagEdit v4.4.10 Failed to load! [WARNING]

This might be an issue with reflection. REPORT this:

Cannot invoke "java.lang.reflect.Constructor.newInstance(Object[])" because "com.nametagedit.plugin.packets.PacketWrapper.ChatComponentText" is null
The plugin will now self destruct.