-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
This server is running CraftBukkit version 4369-Spigot-e65d67a-285df6e (MC: 1.21.3) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
-
Yes
Plugin is built against an earlier Bukkit version.
Seems like the backwards compatibility mapping to the new setDamageResistant(DamageTypeTags.IS_FIRE); is not working.
java.lang.ExceptionInInitializerError: null at org.bukkit.craftbukkit.v1_21_R2.inventory.CraftMetaItem.setFireResistant(CraftMetaItem.java:1417) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at com.nisovin.shopkeepers.compat.ServerAssumptionsTest.createComplexItemStack(ServerAssumptionsTest.java:185) ~[?:?] at com.nisovin.shopkeepers.compat.ServerAssumptionsTest.<init>(ServerAssumptionsTest.java:158) ~[?:?] at com.nisovin.shopkeepers.compat.ServerAssumptionsTest.run(ServerAssumptionsTest.java:69) ~[?:?] at com.nisovin.shopkeepers.SKShopkeepersPlugin.onEnable(SKShopkeepersPlugin.java:326) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[spigot-api-1.21.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.21.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) ~[spigot-api-1.21.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_21_R2.CraftServer.enablePlugin(CraftServer.java:579) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at org.bukkit.craftbukkit.v1_21_R2.CraftServer.enablePlugins(CraftServer.java:493) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:656) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:441) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:268) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1032) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[spigot-1.21.3-R0.1-SNAPSHOT.jar:4369-Spigot-e65d67a-285df6e] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: java.lang.NullPointerException at java.base/java.util.Objects.requireNonNull(Objects.java:233) ~[?:?] at org.bukkit.tag.DamageTypeTags.getTag(DamageTypeTags.java:163) ~[spigot-api-1.21.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.tag.DamageTypeTags.<clinit>(DamageTypeTags.java:36) ~[spigot-api-1.21.3-R0.1-SNAPSHOT.jar:?] ... 16 more