1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript Critical Error

Discussion in 'Skript' started by Nikola, Aug 4, 2019.

Thread Status:
Not open for further replies.
  1. Nikola

    Nikola Member

    Joined:
    Jul 10, 2019
    Messages:
    38
    Likes Received:
    1
    Hello, I use 1.12.2 Skript, and it worked until yesterday. My tps drops to 6/7, and skript trigger is very late. This is error that I get in my console: How do I fix this problem?

    04.08 12:38:22 [Server] ERROR Could not pass event PlayerJoinEvent to Skript v2.3-beta4 04.08 12:38:22 [Server] INFO java.lang.NoSuchMethodError: ch.njol.skript.aliases.ItemType.getItemMeta()Ljava/lang/Object; 04.08 12:38:22 [Server] INFO at com.w00tmast3r.skquery.elements.expressions.ExprLoredItemStack.get(ExprLoredItemStack.java:29) ~[?:?] 04.08 12:38:22 [Server] INFO at com.w00tmast3r.skquery.elements.expressions.ExprLoredItemStack.get(ExprLoredItemStack.java:1) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:75) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:102) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.effects.EffChange.execute(EffChange.java:278) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.lang.Effect.run(Effect.java:52) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.lang.Trigger.execute(Trigger.java:57) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152) ~[?:?] 04.08 12:38:22 [Server] INFO at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:110) ~[?:?] 04.08 12:38:22 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:346) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:166) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:159) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:57) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:845) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [PaperSpigot.jar:git-Spigot-dcd1643-e60fc34] 04.08 12:38:22 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

    Can someone help me? Thank you!
     
  2. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    314
    Likes Received:
    21
    Yeah yeah yeah that's all pretty and shit but where's the code? We can't guess
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    Why are you using an extremely outdated build of Skript? And why are you using a beta? Update your Skript to a supported version, like 2.3.7 then try again.
    Theres been 10 updates to the 2.3.x series since that beta build.
     
  4. Nikola

    Nikola Member

    Joined:
    Jul 10, 2019
    Messages:
    38
    Likes Received:
    1
    I know, I changed to that version because I had this error before, when I used stable version. I just wanted to see if other version of skript will remove error, but it doesn't.
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    220
    After I was able to read your error (lack of codeblock makes it painfully hard to read)
    I realized your error is with SkQuery
    Code (Text):
    1. com.w00tmast3r.skquery.elements.expressions.ExprLoredItemStack.get(ExprLoredItemStack.java:29)
    My guess is you're running the wrong version of SkQuery
     
Thread Status:
Not open for further replies.

Share This Page

Loading...