Tuke-Nuke / TuSKe

TuSKe is a Skript addons which brings some new cool things and some simple plugins hook.
18 stars 36 forks source link

Advanced GUI's broken in 2.3.6 #71

Closed Vrganj closed 2 years ago

Vrganj commented 5 years ago

I tried using

create gui with virtual chest named "Hello":
    make gui 5 with stone:
        send "Hi!"
open last gui to player

and it errored in the console, then I tried it without the send "Hi!" and it worked.

27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! [Skript] Severe Error:
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Something went horribly wrong with Skript.
27.03 12:39:18 [Server] ERROR #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
27.03 12:39:18 [Server] ERROR #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
27.03 12:39:18 [Server] ERROR #!#! Here is full list of them:
27.03 12:39:18 [Server] ERROR #!#! skript-mirror (https://github.com/btk5h/skript-mirror) TuSKe (github.com/Tuke-Nuke/TuSKe) Skore 
27.03 12:39:18 [Server] ERROR #!#! We could not identify which of those are specially related, so this might also be Skript issue.
27.03 12:39:18 [Server] ERROR #!#! You should try disabling those plugins one by one, trying to find which one causes it.
27.03 12:39:18 [Server] ERROR #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
27.03 12:39:18 [Server] ERROR #!#! In that case, you will be given instruction on how should you report it.
27.03 12:39:18 [Server] ERROR #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
27.03 12:39:18 [Server] ERROR #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Stack trace:
27.03 12:39:18 [Server] ERROR #!#! java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.WeakHashMap
27.03 12:39:18 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.VariableUtil.<init>(VariableUtil.java:24)
27.03 12:39:18 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.VariableUtil.getInstance(VariableUtil.java:17)
27.03 12:39:18 [Server] ERROR #!#!     at com.github.tukenuke.tuske.sections.gui.EffMakeGUI.execute(EffMakeGUI.java:77)
27.03 12:39:18 [Server] ERROR #!#!     at com.github.tukenuke.tuske.util.EffectSection.check(EffectSection.java:54)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.lang.Condition.run(Condition.java:56)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.lang.Conditional.walk(Conditional.java:51)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:298)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:255)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:254)
27.03 12:39:18 [Server] ERROR #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:169)
27.03 12:39:18 [Server] ERROR #!#!     at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35)
27.03 12:39:18 [Server] ERROR #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
27.03 12:39:18 [Server] ERROR #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
27.03 12:39:18 [Server] ERROR #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1470)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1283)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
27.03 12:39:18 [Server] ERROR #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
27.03 12:39:18 [Server] ERROR #!#!     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
27.03 12:39:18 [Server] ERROR #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
27.03 12:39:18 [Server] ERROR #!#!     at java.lang.Thread.run(Thread.java:748)
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Version Information:
27.03 12:39:18 [Server] ERROR #!#!   Skript: 2.3.6 (latest)
27.03 12:39:18 [Server] ERROR #!#!     Flavor: skriptlang-github
27.03 12:39:18 [Server] ERROR #!#!     Date: 2019-03-03
27.03 12:39:18 [Server] ERROR #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
27.03 12:39:18 [Server] ERROR #!#!   Minecraft: 1.12.2
27.03 12:39:18 [Server] ERROR #!#!   Java: 1.8.0_191 (OpenJDK 64-Bit Server VM 25.191-b12)
27.03 12:39:18 [Server] ERROR #!#!   OS: Linux amd64 4.19.1-1.el7.elrepo.x86_64
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Server platform: Paper
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Current node: null
27.03 12:39:18 [Server] ERROR #!#! Current item: make  a gui slot [[long:5]] of gui with [[itemstack:stone block]]
27.03 12:39:18 [Server] ERROR #!#! Current trigger: command /pot (simple event) (Potions.sk, line -1)
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Thread: Server thread
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! Language: english
27.03 12:39:18 [Server] ERROR #!#! Link parse mode: DISABLED
27.03 12:39:18 [Server] ERROR #!#! 
27.03 12:39:18 [Server] ERROR #!#! End of Error.
27.03 12:39:18 [Server] ERROR #!#!