Allow OR lists for CondIsWithin
Skript/Server Version
[21:41:50 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[21:41:50 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[21:41:50 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[21:41:50 INFO]: [Skript] Server Version: git-Paper-291 (MC: 1.20.2)
[21:41:50 INFO]: [Skript] Skript Version: 2.7.2 (skriptlang-github)
[21:41:50 INFO]: [Skript] Installed Skript Addons: None
[21:41:50 INFO]: [Skript] Installed dependencies: None
Bug Description
Occasional failure to pass through when using or to add two or more worlds in the player is in world condition.
Expected Behavior
It should pass through every time.
Steps to Reproduce
on break:
player is in world("world") or world("world_nether")
send "ok" to player
and
on break:
player is in world or world_nether
send "ok" to player
Errors or Screenshots
https://www.youtube.com/watch?v=4yYFF4H35fI
Other
No response
Agreement
- [ ] I have read the guidelines above and affirm I am following them with this report.
have you tried player's world = "world" or "world_nether"?
have you tried
player's world = "world" or "world_nether"?
After testing the bug is indeed valid. my solution (using the expression instead) works however.
CondIsWithin only accepts single values for world/chunk/entity right now, so this would be an enhancement to allow multiple possible values.
#7945