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
Describe the bug raw index of event-slot conflicts with [the] raw %objects% syntax.
When used, it shows the error: Can't compare an object with an integer.
This error appeared after installing skript-reflect.
To reproduce
command /menu:
trigger:
set {_menu} to a new chest inventory with 6 row named "menu"
set slot 0 of {_menu} to dirt named "test"
open {_menu} to player
on inventory click:
name of event-inventory = "menu":
cancel event
if raw index of event-slot = 0:
send "ok" to player
Expected behavior
It should return number.
Server information
skript-reflect: 2.5.1
Skript: 2.9.2
Paper: 1.21.1 - 85
Minecraft: 1.21.1
Java: 21.0.4
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
raw index of event-slot
conflicts with[the] raw %objects%
syntax.When used, it shows the error:
Can't compare an object with an integer.
This error appeared after installing skript-reflect.
To reproduce
Expected behavior
It should return number.
Server information
The text was updated successfully, but these errors were encountered: