eyesniper2 / skRayFall

An addon for skript that adds Citizens support, EffectLib support and other features.
https://sk.rayfall.net/
GNU General Public License v3.0
21 stars 17 forks source link

Timed holograms producing NoSuchMethodError #105

Open rudde0 opened 8 months ago

rudde0 commented 8 months ago

Describe the bug

The code below: display hologram "Hello" at player to player for 20 ticks

Produces,

[12:46:38] [Server thread/WARN]: [Skript] Task #11332 for Skript v2.8.1 generated an exception
java.lang.NoSuchMethodError: 'int ch.njol.skript.util.Timespan.getTicks()'
    at net.rayfall.eyesniper2.skrayfall.holograms.EffTimedClientSideHolo.execute(EffTimedClientSideHolo.java:111) ~[skRayFall+v1.9.28.jar:?]
    at ch.njol.skript.lang.Effect.run(Effect.java:49) ~[Skript-2.8.jar:?]
    at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.8.jar:?]
    at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[Skript-2.8.jar:?]
    at ch.njol.skript.effects.Delay.lambda$walk$0(Delay.java:107) ~[Skript-2.8.jar:?]
    at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1667) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1546) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1235) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.4.jar:git-Purpur-2128]
    at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Server Information