You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on script load:
if a string is an itemtype:
broadcast "wat"
on script load:
if player is an itemtype:
broadcast "wat"
on script load:
if timespan is an itemtype:
broadcast "wat"
if timespan is a player:
broadcast "wat"
parses correctly and prints wat
Expected Behavior
This condition should not pass.
The player classinfo compared against another classinfo is concerning as I can tell Skripters could run into that issue when player is not present in an event.
The text was updated successfully, but these errors were encountered:
TheLimeGlass
added
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
priority: medium
Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
and removed
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
labels
May 30, 2023
TheLimeGlass
changed the title
String is an itemtype
Player is an itemtype | ClassInfo compared against ClassInfo
May 30, 2023
It broadcasts "wat" because a string is referring to the string item. Not because a player is an itemtype which is what your issue suggests. Maybe you should use different debug messages for different checks? So you know which is passing and which isn't.
UnderscoreTud
added
invalid
Not a Skript issue, already implemented, does not apply, etc.
and removed
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
priority: medium
Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
labels
Jul 19, 2023
UnderscoreTud
added
won't fix
Intended behaviour of Skript/MC, not fixable or not planned
and removed
invalid
Not a Skript issue, already implemented, does not apply, etc.
labels
Jul 19, 2023
Skript/Server Version
Bug Description
parses correctly and prints
wat
Expected Behavior
This condition should not pass.
The player classinfo compared against another classinfo is concerning as I can tell Skripters could run into that issue when player is not present in an event.
Note this is unrelated to #5503
The text was updated successfully, but these errors were encountered: