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
Client version: 1.8.9
Server OS: Linux
Cuberite Commit id: 4fe144d
Expected behavior
OnClicked callback cancels the shift-click. The item stays in the cLuaWindow inventory, player inventory is unchanged.
Actual behavior
The item remains in the player inventory, but only client-side.
Steps to reproduce the behavior
Create a cLuaWindow with a SetOnClicked callback that closes the window server-side and returns true
Use SetSlot() to put an item inside the window
Use OpenWindow() to open the window on the client
On the client, shift-click on the item
Server log
Irrelevant.
The text was updated successfully, but these errors were encountered:
sleirsgoevy
changed the title
Shift-clicking within a cLuaWindow does not resend player inventory
Shift-clicking within a cLuaWindow does not resend player inventory if the OnClicked callback calls CloseWindow
Jun 22, 2023
Client version: 1.8.9
Server OS: Linux
Cuberite Commit id: 4fe144d
Expected behavior
OnClicked callback cancels the shift-click. The item stays in the cLuaWindow inventory, player inventory is unchanged.
Actual behavior
The item remains in the player inventory, but only client-side.
Steps to reproduce the behavior
Server log
Irrelevant.
The text was updated successfully, but these errors were encountered: