Skript: Condition "is not on ground" results with an error

Created on 21 Mar 2018  路  3Comments  路  Source: SkriptLang/Skript

Engine: Spigot 1.12.2.-R.0.1-SNAPSHOT
Skript-Version: 2.2. dev34

Problem:
The manual (https://bensku.github.io/Skript/conditions.html#CondIsOnGround) suggests, that I can use a condition "player is not on ground", but then I get a message on the console after reloading of scripts:
_Can't compare a player with 'on ground' (SkriptName.sk, line 2: player is not on ground')_

Possible solution:
_on place:
player is on ground:
else:
_

But if the manual suggests something, what doesn't work, I thought, that I'll report it.

enhancement low

Most helpful comment

Thank you for - as always - fast answer. As I wrote, before you fix it, we can use conditionals to get the same results.
I wish all the best by your efforts on developing. Keep up the good work

All 3 comments

You can't do that since @bensku forgot to add negation support to that condition and accidentally used that as example. Should be possible for the next patch.

Thank you for - as always - fast answer. As I wrote, before you fix it, we can use conditionals to get the same results.
I wish all the best by your efforts on developing. Keep up the good work

Fixed in dev35.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TrademarkTM picture TrademarkTM  路  4Comments

Misio12320 picture Misio12320  路  3Comments

ghost picture ghost  路  3Comments

cyanide43 picture cyanide43  路  4Comments

Anoniempje1234 picture Anoniempje1234  路  3Comments