Frage von xDeron, 22

Warum wird mein Inventory bei meinem LobbyPlugin geöffnet und durch ein anderes ersetzt (Fehlercode & Informationen in der Beschreibung!)?

Informationen:

Programmierprogramm: Eclipse

Javaversion (Ausgewählte für das Plugin): 1.7 [es muss 1.7 sein sonst geht mein Plugin nicht.]

API: Spigot 1.8

Fehlercode:

[21:31:03 ERROR]: Could not pass event InventoryClickEvent to LobbySystem v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:297) ~[craftbukkit-1.8.jar:git-Bukkit-7019900] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.8.jar:git-Bukkit-7019900] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8.jar:git-Bukkit-7019900] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1521) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:31) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:9) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [craftbukkit-1.8.jar:git-Bukkit-7019900] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_74] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_74] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:656) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:609) [craftbukkit-1.8.jar:git-Bukkit-7019900] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:517) [craftbukkit-1.8.jar:git-Bukkit-7019900] at java.lang.Thread.run(Unknown Source) [?:1.8.0_74] Caused by: java.lang.NullPointerException at de.ls.main.LobbyItems.onPetsInventoryClickEvent2(LobbyItems.java:604) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:295) ~[craftbukkit-1.8.jar:git-Bukkit-7019900] ... 14 more

Antwort
von xDeron, 8

Leute ich habe die Lösung gefunden!

Hiermit brauche ich keine Hilfe mehr.

Keine passende Antwort gefunden?

Fragen Sie die Community