Skip to content

Issues with EffAnvilGuiOpen #64

@sovdeeth

Description

@sovdeeth

Describe the bug
EffAnvilGuiOpen ignores the use of or lists (it uses getAll instead of getArray) and will immediately exit after the first player if force opening a gui to multiple players, just skipping the last two. If the latter is intentional (unclear based on the syntax description), I would suggest clarifying it in the desc and adding a runtime error.

Recreate
Requires 2 players:

command test <player>:
  trigger:
    force open {anvilgui} to player or arg 1

Use or/and and force/not force to see the various issues with getAll/early exiting

Expected behavior
To use getArray instead of getAll, and to force-open guis to all players returned by the expr

Metadata

Metadata

Assignees

Labels

Area: Lusk (Skript)Takes place in the 'skript' module. More specifically in the skript implementation.Priority: MediumShould be addressed decently soon,Status: PlannedPlanned for implementation. Not waiting on other features or changes to be implemented.Type: BugSomething isn't working

Projects

Status

Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions