Skip to content

CondIsTagged uses getArray instead of getAll #7471

Description

@Envqu

Skript/Server Version

[17:37:45 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[17:37:45 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[17:37:45 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[17:37:45 INFO]: [Skript] Server Version: 1.21.3-2358-16ce24a (MC: 1.21.3)
[17:37:45 INFO]: [Skript] Skript Version: 2.10.0 (skriptlang-github)
[17:37:45 INFO]: [Skript] Installed Skript Addons: 
[17:37:45 INFO]: [Skript]  - SkBee v3.8.1 (https://github.com/ShaneBeee/SkBee)
[17:37:45 INFO]: [Skript]  - SkQuery v4.1.10
[17:37:45 INFO]: [Skript]  - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[17:37:45 INFO]: [Skript]  - skript-db v1.3.9
[17:37:45 INFO]: [Skript] Installed dependencies: 
[17:37:45 INFO]: [Skript]  - Vault v1.7.3-b131
[17:37:45 INFO]: [Skript]  - WorldGuard v7.0.13-beta-1+2f13ae0

Bug Description

There is like 10% chance that message will be sent to player.
Skript doesnt recognize item tags every time.
It never happened with "any shulker box" or "any trapdoor".

Expected Behavior

Recognize item tag every time.

Steps to Reproduce

on rightclick:
	player's world = "spawn"
	#player doesn't have permission "*"
	if event-block is item frame or glow item frame or armor stand or brewing stand or hopper or barrel:
		send "test a" to player
		cancel event
	if event-block is tagged as item tag "shulker_boxes" or "doors" or "trapdoors" or "pots" or "gates" or "furnaces":
		send "test b" to player
		cancel event

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.patch-readyA PR/issue that has been approved and is ready to be merged/closed for the next patch version.

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions