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
Currently the modify command looks at the start of the element string to identify the element that it contains, however this does not work with the custom item_grid element, because that element string consists of multiple item_image or item_image_button.
Possible solutions:
Change how elements are stored in metadata so that the modify command does not need to use pattern matching.
Add code specifically for item_grid modification. (and tables too)
Currently the modify command looks at the start of the element string to identify the element that it contains, however this does not work with the custom
item_grid
element, because that element string consists of multipleitem_image
oritem_image_button
.Possible solutions:
modify
command does not need to use pattern matching.item_grid
modification. (and tables too)Relevant code:
digistuff/touchscreen.lua
Lines 20 to 33 in 71b606c
digistuff/formspec_elements.lua
Lines 351 to 383 in 71b606c
The text was updated successfully, but these errors were encountered: