Skript: Function is deleted while it isn't

Created on 31 Jan 2020  路  7Comments  路  Source: SkriptLang/Skript

Description


While reloading my skript it randomly appears something like this
https://oshawott.pl/ss/205b.png ( "The function 'money' was deleted or renamed (...)" )
but I haven't changed anything and the function is on it's place all the time. My friend said that he see it too

Steps to Reproduce


Can't provide how to reproduce, sorry. I tried to do a code for it, but it failed. Maybe it depends on time (I tried only with short time)

Expected Behavior


It shouldn't appear that a function is removed or renamed : d

Errors / Screenshots


^like I said + no more errors

Server Information

  • Server version/platform: Paper-84 1.15.2
  • Skript version: 2.5-alpha1

Additional Context

bug completed

Most helpful comment

same, occuring very often, especially when re-loading specific script files only

All 7 comments

This usually happens when reloading scripts, especially if the function was moved.

This usually happens when reloading scripts, especially if the function was moved.

It would be understandable, but the function stays at same place all the time (and throws a lot of errors on reload...)
We don't touch it (function), just editing code in skript with function makes this happen o.O

I have the same problem constantly, when reloading bigger scripts the whole chat gets spammed by those, while I haven't edited or moved the functions (unless addition of extra lines to other blocks of code counts as moved? because function may appear in another line), this only started happening with the newer versions of Skript

I usually get this error when I use a function in an effect command (on 2.4.1)

me too, please fix reload function error.

same, occuring very often, especially when re-loading specific script files only

Fixed in 2.5-alpha2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

Anoniempje1234 picture Anoniempje1234  路  3Comments

Coolfire02 picture Coolfire02  路  3Comments

Misio12320 picture Misio12320  路  3Comments

Anarchick picture Anarchick  路  3Comments