
Expand/Shrink World Border does not work
Closed this issue ยท 3 comments
Skript/Server Version
[18:01:21 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[18:01:21 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[18:01:21 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[18:01:21 INFO]: [Skript] Server Version: 1.21.4-231-09e9afd (MC: 1.21.4)
[18:01:21 INFO]: [Skript] Skript Version: 2.11.2 (skriptlang-github)
[18:01:21 INFO]: [Skript] Installed Skript Addons:
[18:01:21 INFO]: [Skript] - SkBee v3.11.2 (https://github.com/ShaneBeee/SkBee)
[18:01:21 INFO]: [Skript] - skript-gui v1.4.0-dev (https://github.com/APickledWalrus/skript-gui)
[18:01:21 INFO]: [Skript] - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[18:01:21 INFO]: [Skript] Installed dependencies:
[18:01:21 INFO]: [Skript] - Vault v1.7.3-b131
Bug Description
Expand & shrink effects aren't being recognized by Skript 2.11.2
Expected Behavior
The world border should expand / shrink as stated.
Steps to Reproduce
- Create a new skript file
- Create a command
- In the trigger section, add
expand world border of world "world" to 100 in 10 seconds
&shrink world border of world "world" to 100 in 10 seconds
- Save the file and reload it.
Example:
command /worldbordertest:
permission: *
trigger:
expand world border of world "world" to 100 in 10 seconds
shrink world border of world "world" to 100 in 10 seconds
Errors or Screenshots
> sk reload tests
[18:06:12 INFO]: [Skript] Reloading tests.sk...
[18:06:12 INFO]: Line 3: (tests.sk)
[18:06:12 INFO]: Can't understand this condition/effect: expand world border of world "world" to 100 in 10 seconds
[18:06:12 INFO]: Line: expand world border of world "world" to 100 in 10 seconds
[18:06:12 INFO]:
[18:06:12 INFO]: Line 4: (tests.sk)
[18:06:12 INFO]: Can't understand this condition/effect: shrink world border of world "world" to 100 in 10 seconds
[18:06:12 INFO]: Line: shrink world border of world "world" to 100 in 10 seconds
[18:06:12 INFO]:
[18:06:12 INFO]: Encountered 2 errors while reloading tests.sk! (18ms)
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
It looks like the example is wrong. Try expand world border of world "world" to 100 over 10 seconds
. That is, try over 10 seconds
instead of in 10 seconds
I'm going to keep this open as the documentation needs corrected.
Good First Issue Guide
The problem is that the examples defined in the Effect's class are incorrect:
Skript/src/main/java/ch/njol/skript/effects/EffWorldBorderExpand.java
Lines 28 to 31 in 0b0b3da
Instead of
in X seconds
, it should be over X seconds