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
[22:02:12 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases[22:02:12 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/[22:02:12 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials[22:02:12 INFO]: [Skript] Server Version: git-Paper-493 (MC: 1.20.4)
[22:02:12 INFO]: [Skript] Skript Version: 2.9.4 (skriptlang-github)
[22:02:12 INFO]: [Skript] Installed Skript Addons:
[22:02:12 INFO]: [Skript] - skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders)
[22:02:12 INFO]: [Skript] - PoaSk v4.10.11 (https://github.com/Ekpoa/PoaSkRewritev2)
[22:02:12 INFO]: [Skript] - skUtilities v0.9.2 (https://tim740.github.io/)
[22:02:12 INFO]: [Skript] - skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect)
[22:02:12 INFO]: [Skript] - SkBee v3.6.3 (https://github.com/SkriptHub/SkBee)
[22:02:12 INFO]: [Skript] Installed dependencies:
[22:02:12 INFO]: [Skript] - Vault v1.7.3
[22:02:12 INFO]: [Skript] - WorldGuard v7.0.9+5934e49
Bug Description
anvil text input only works if the inventory is an unmodified, unnamed anvil inventory.
This means if you, for example, open anvil inventory named "abc123" to ..., then use an on inventory click: event to check the anvil text input, it will always return none.
However, if you use the same code and click after right clicking a normal anvil, it will send the correct thing.
Expected Behavior
The anvil text input should work on any anvil GUI, but only works on unmodified ones.
Steps to Reproduce
Working behavior:
Insert code: on inventory click: event-inventory is an anvil inventory send anvil text input of event-inventory to player
Place an anvil down and then right-click it.
Place an item in the first slot, then type in any new name
Click any slot (best is the middle where there isn't an item), and you will see the new name.
The above is an instance where it does work; clicking in an unmodified anvil inventory.
Not working behavior:
Insert code: on inventory click: event-inventory is an anvil inventory send anvil text input of event-inventory to player
Use effect command !open anvil inventory named "abc" to player
Place an item in the first slot, then type in any new name
Click any slot (best is the middle where there isn't an item), and you will see that nothing is sent to you in the chat.
If you change the message sent to, for example, "&b%anvil text input of event-inventory%", it will return a blue none.
The only difference between these two instances is that there is a name in the not working one and no name in the working one. This means that there is an error somewhere within how this expression works making it so that it only works if it's a vanilla GUI.
You can also use SkBee's !open real anvil inventory to player and will see that it works there, though you can't name it anything so you can't reproduce the bug using it.
Agreement
I have read the guidelines above and affirm I am following them with this report.
The text was updated successfully, but these errors were encountered:
Skript/Server Version
Bug Description
anvil text input
only works if the inventory is an unmodified, unnamed anvil inventory.This means if you, for example,
open anvil inventory named "abc123" to ...
, then use anon inventory click:
event to check the anvil text input, it will always return none.However, if you use the same code and click after right clicking a normal anvil, it will send the correct thing.
Expected Behavior
The
anvil text input
should work on any anvil GUI, but only works on unmodified ones.Steps to Reproduce
on inventory click: event-inventory is an anvil inventory send anvil text input of event-inventory to player
The above is an instance where it does work; clicking in an unmodified anvil inventory.
on inventory click: event-inventory is an anvil inventory send anvil text input of event-inventory to player
!open anvil inventory named "abc" to player
The only difference between these two instances is that there is a name in the not working one and no name in the working one. This means that there is an error somewhere within how this expression works making it so that it only works if it's a vanilla GUI.
Errors or Screenshots
Minecraft_.1.21.-.Multiplayer.3rd-party.Server.2024-11-20.17-09-37.mp4
Other
You can also use SkBee's
!open real anvil inventory to player
and will see that it works there, though you can't name it anything so you can't reproduce the bug using it.Agreement
The text was updated successfully, but these errors were encountered: