Skript

Skript

743k Downloads

Item comparisons seem severely broken

ShaneBeee opened this issue ยท 3 comments

commented

Skript/Server Version

[11:19:12 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[11:19:12 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[11:19:12 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[11:19:12 INFO]: [Skript] Server Version: git-Paper-393 (MC: 1.20.4)
[11:19:12 INFO]: [Skript] Skript Version: 2.8.0 (skriptlang-github)
[11:19:12 INFO]: [Skript] Installed Skript Addons: 
[11:19:12 INFO]: [Skript]  - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[11:19:12 INFO]: [Skript]  - SkBee v3.2.0 (https://github.com/ShaneBeee/SkBee)
[11:19:12 INFO]: [Skript] Installed dependencies: 
[11:19:12 INFO]: [Skript]  - Vault v1.7.3-b131
>

Bug Description

It appears that comparing items is severely broken in 2.8

Expected Behavior

To work as they did before

Steps to Reproduce

A couple tests

Run this in game and you will get "BOO", when you should be getting "YAY"

command /test:
	trigger:
		set player's tool to a diamond sword named "bob"
		if player's tool is a diamond sword:
			send "&aYAY"
		else:
			send "&cBOO"

it also appears comparing with "any" doesn't work as well
Run this in game and you will get "BOO", when you should be getting "YAY"

command /test:
	trigger:
		set player's tool to spruce planks
		if player's tool is any planks:
			send "&aYAY"
		else:
			send "&cBOO"

Errors or Screenshots

No response

Other

No response

Agreement

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

well sone of BEEP ... it is SkBee.
Now I have to figure out how the heck SkBee is screwing this up.

commented

image

I can't replicate this for some reason. Have you tried without skbee? Not sure why that would influence this.
edit: same result on spigot and paper 1.20.4

commented

Feel free to reopen if it turns out Skript is a partial culprit.