Eh bien j'aurai besoin de pouvoir ouvrir le fichier "PlayerGun.class" dnas Eclipse, afin d'y modifier un mot et sauvegarder ça dans le plugin, afin d'avoir une traduction, qui pour ma part est importante.
J'ai essayé à nouveau et ce message apparait plusieurs fois dans la console :
J'ai essayé à nouveau et ce message apparait plusieurs fois dans la console :
Code:
[10:26:48 ERROR]: Could not pass event PlayerInteractEvent to SwornGuns v2.4-SNAPSHOT-b442
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:234) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:201) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:197) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1430) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:24) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_151]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.lang.ClassFormatError: net/dmulloy2/swornguns/types/GunPlayer
at net.dmulloy2.swornguns.SwornGuns.getGunPlayer(SwornGuns.java:343) ~[?:?]
at net.dmulloy2.swornguns.listeners.PlayerListener.onPlayerInteract(PlayerListener.java:86) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
... 18 more
Dernière édition par un modérateur: