Open CloudeLecaw opened 5 months ago
currently we get this error on 1.21
The Bank opens and closes but this error arrpears in console
[01:04:46] [Server thread/INFO]: Cloude_Lecaw issued server command: /rpgbbanker open
[01:04:49] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.Inventory.getItem(int)" because "<local4>" is null
[01:04:49] [Server thread/WARN]: at dev.lone.RPGBank.b.e(SourceFile:516)
[01:04:49] [Server thread/WARN]: at dev.lone.RPGBank.b.a(SourceFile:384)
[01:04:49] [Server thread/WARN]: at dev.lone.RPGBank.a.a(SourceFile:38)
[01:04:49] [Server thread/WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[01:04:49] [Server thread/WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[01:04:49] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[01:04:49] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[01:04:49] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601)
[01:04:49] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588)
[01:04:49] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:1437)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2527)
[01:04:49] [Server thread/WARN]: at net.minecraft.network.protocol.game.PacketPlayInCloseWindow.a(SourceFile:32)
[01:04:49] [Server thread/WARN]: at net.minecraft.network.protocol.game.PacketPlayInCloseWindow.a(SourceFile:8)
[01:04:49] [Server thread/WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$0(PlayerConnectionUtils.java:35)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.TickTask.run(SourceFile:18)
[01:04:49] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:162)
[01:04:49] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1270)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:203)
[01:04:49] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.B(SourceFile:136)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.bv(MinecraftServer.java:1249)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.B(MinecraftServer.java:1242)
[01:04:49] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.bB(SourceFile:121)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.v_(MinecraftServer.java:1213)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1078)
[01:04:49] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[01:04:49] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:1570)
[01:04:49] [Server thread/ERROR]: Could not pass event InventoryCloseEvent to RPGBank v1.0.16-r3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_21_R1.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:1437) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2527) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.network.protocol.game.PacketPlayInCloseWindow.a(SourceFile:32) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.network.protocol.game.PacketPlayInCloseWindow.a(SourceFile:8) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$0(PlayerConnectionUtils.java:35) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:162) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1270) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:203) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.util.thread.IAsyncTaskHandler.B(SourceFile:136) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.bv(MinecraftServer.java:1249) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.B(MinecraftServer.java:1242) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.util.thread.IAsyncTaskHandler.bB(SourceFile:121) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.v_(MinecraftServer.java:1213) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1078) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4244-Spigot-0a642bd-13ece47]
at java.base/java.lang.Thread.run(Thread.java:1570) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "dev.lone.RPGBank.b.b.d()" because "<local3>" is null
at dev.lone.RPGBank.b.e(SourceFile:523) ~[?:?]
at dev.lone.RPGBank.b.a(SourceFile:384) ~[?:?]
at dev.lone.RPGBank.a.a(SourceFile:38) ~[?:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
... 21 more
well 3 weeks has passt. i know your busy. but would still be nice to see RPGBank on Spigot 1.21 its one of the last two plugins we wanne see back :3
1.21.1 is allrady on the server and we wait for a omepack of the RPG-Bank and EpicBacks from you <3
As well as the author of the post, I expect support for 1.21.1-1.21.2 versions.
Currently the plugin throws errors on loading