Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Allow OR lists for CondIsWithin

Open tim31205 opened this issue 2 years ago • 4 comments

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.

tim31205 avatar Nov 15 '23 13:11 tim31205

have you tried player's world = "world" or "world_nether"?

TheLividX avatar Nov 15 '23 15:11 TheLividX

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.

TheLividX avatar Nov 15 '23 16:11 TheLividX

CondIsWithin only accepts single values for world/chunk/entity right now, so this would be an enhancement to allow multiple possible values.

sovdeeth avatar Nov 15 '23 18:11 sovdeeth

#7945

Absolutionism avatar Jun 14 '25 14:06 Absolutionism