-
-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Labels
bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An 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.The issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Description
Skript/Server Version
[06:57:49 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[06:57:49 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[06:57:49 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[06:57:49 INFO]: [Skript] Server Version: git-Paper-307 (MC: 1.19.2)
[06:57:49 INFO]: [Skript] Skript Version: 2.7.0-beta1 (skriptlang-github)
[06:57:49 INFO]: [Skript] Installed Skript Addons:
[06:57:49 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[06:57:49 INFO]: [Skript] - SkBee v2.7.8 (https://github.com/ShaneBeee/SkBee)
[06:57:49 INFO]: [Skript] Installed dependencies: None
Bug Description
When attempting to compare a variable with is a block, the script is unable to determiner if this it true and returns false
Expected Behavior
For the output to return true if given item is a valid block type
Steps to Reproduce
command /example <block:item>:
trigger:
send "Literal: stone is a block" if stone is a block, else "Literal: stone is not a block"
send "NonLiteral: %{_block}% is a block" if {_block} is a block, else "NonLiteral: %{_block}% is not a block"
Errors or Screenshots
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Metadata
Metadata
Assignees
Labels
bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An 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.The issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).