Skocz do zawartości
  • 0

Problem z arg


xGaJeS_

Pytanie

Mam taki problem z argumentami np w komendzie /eventwezwij [<player>]: gdy mam jakis argument to na czacie wyskakuje

An internal error occurred while attempting to perform this command

I tak zawsze gdy reloaduje skrypt , a pozniej nie pisze ze poprawnie przereloadowano.

KONSOLA:

[19:36:16 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.1.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [mc.jar:git-Spigot-5f38d38-18fbb24]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [mc.jar:git-Spigot-5f38d38-18fbb24]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.NoSuchMethodError: ch.njol.util.NonNullPair.getSecond()Ljava/lang/Object;
at ch.njol.skript.command.Commands.loadCommand(Commands.java:379) ~[?:?]
at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462) ~[?:?]
at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:262) ~[?:?]
at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:155) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
... 15 more
 

 

Edytowane przez xGaJeS_
Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
2 godziny temu, Xyrusek napisał:

Próbowałeś wgrywać inna wersje Skript'a?

nie próbowałem

4 godziny temu, Bielecki napisał:

Błędy z konsoli

[19:36:16 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.1.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [mc.jar:git-Spigot-5f38d38-18fbb24]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [mc.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [mc.jar:git-Spigot-5f38d38-18fbb24]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.NoSuchMethodError: ch.njol.util.NonNullPair.getSecond()Ljava/lang/Object;
at ch.njol.skript.command.Commands.loadCommand(Commands.java:379) ~[?:?]
at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462) ~[?:?]
at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:262) ~[?:?]
at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:155) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[mc.jar:git-Spigot-5f38d38-18fbb24]
... 15 more
 
TAKIE COS MI WYSKAKUJE W KONSOLI PO WPISANIU /sk reload
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...