zDevelopers / UHPlugin

Plugin UltraHardcore (“Kill the Patrick”), augmenté. | UHC (“KTP”) plugin, improved.
Other
32 stars 24 forks source link

Harmless exception while joining a full team using the teams GUI #136

Closed AmauryCarrade closed 7 years ago

AmauryCarrade commented 8 years ago

Environment

VPS CentOS / 8 Gio RAM / 24 players & 6 teams

Problem description

Harmless exception thrown while joining a full team

[13:33:43] [Server thread/ERROR]: Could not pass event InventoryClickEvent to UHPlugin v1.3 §cdev
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1603) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.RuntimeException: The team Orange is full
    at eu.carrade.amaury.UHCReloaded.teams.UHTeam.addPlayer(UHTeam.java:301) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.teams.UHTeam.addPlayer(UHTeam.java:285) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.gui.teams.TeamsSelectorGUI.getPickedUpItem(TeamsSelectorGUI.java:208) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.gui.teams.TeamsSelectorGUI.getPickedUpItem(TeamsSelectorGUI.java:58) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.zlib.components.gui.ExplorerGui.getPickedUpItem(ExplorerGui.java:500) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.zlib.components.gui.ExplorerGui.getPickedUpItem(ExplorerGui.java:486) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.zlib.components.gui.ExplorerGui.onActionPickup(ExplorerGui.java:322) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.zlib.components.gui.ExplorerGui.onClick(ExplorerGui.java:245) ~[?:?]
    at eu.carrade.amaury.UHCReloaded.zlib.components.gui.InventoryGui$InventoryGuiListener.onInventoryClick(InventoryGui.java:260) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.7.jar:git-Spigot-f928e7a-994b2aa]
    ... 15 more

Steps to reproduce

(Report from Cryod on SpigotMC)