ExprOpenedInventory doesn't function
colton-boi opened this issue ยท 0 comments
Skript/Server Version
[23:20:31 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[23:20:31 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[23:20:31 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[23:20:31 INFO]: [Skript] Server Version: 1.20.6-148-20f5165 (MC: 1.20.6)
[23:20:31 INFO]: [Skript] Skript Version: 2.9.0-pre1 (selfbuilt-unknown)
[23:20:31 INFO]: [Skript] Installed Skript Addons: None
[23:20:31 INFO]: [Skript] Installed dependencies: None
Bug Description
[23:11:02 INFO]: !send me's open inventory
[23:11:02 WARN]: [Skript] Task #47 for Skript v2.9.0-pre1 generated an exception
java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.ExprOpenedInventory$1.get(ExprOpenedInventory.java:67) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.ExprOpenedInventory$1.get(ExprOpenedInventory.java:63) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.util.Getter.convert(Getter.java:49) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/org.skriptlang.skript.lang.converter.Converters.convert(Converters.java:501) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/org.skriptlang.skript.lang.converter.Converters.convertUnsafe(Converters.java:565) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:203) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:119) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.ExprOpenedInventory.get(ExprOpenedInventory.java:63) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.ExprOpenedInventory.get(ExprOpenedInventory.java:38) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:88) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:97) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.effects.EffMessage.execute(EffMessage.java:123) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.lang.Effect.run(Effect.java:49) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:210) ~[Skript-2.9.0-pre1.jar:?]
at Skript-2.9.0-pre1.jar/ch.njol.skript.command.Commands$2.lambda$onPlayerChat$0(Commands.java:309) ~[Skript-2.9.0-pre1.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftFuture.run(CraftFuture.java:88) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1699) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:467) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1571) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1231) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-148-20f5165]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Expected Behavior
Sends the open inventory of me
Steps to Reproduce
command /inv:
trigger:
send player's open inventory
Errors or Screenshots
No response
Other
Agreement
- I have read the guidelines above and affirm I am following them with this report.