the issue is caused in hairtools lua handle recieved fields which is fired even when quitting , add this line
if fields.quit then
return -- Stop here, don't re-open the form
end
no i am sorry i should have explained better i installed this mod (the skincare mod) took the hair straightener item, used it by right clicking with it, it made nice bubbles and worked but when i turned it off and tried to exit the formspec. it did not exit no matter what i did. So i opened the hair_tools.lua in this mod and after looking around i found that the formspec the on_recieved fields handler function (i dont remember the exact name) did not check if the fields.quit is set
hi sorry about the long wait
i havent had any issues with closing the formspec, i turn it on and off and i can still exit
just double click outside of it or press esc cuz theres no exit button in the formspec itself (i could add that tho)
the issue is caused in hairtools lua handle recieved fields which is fired even when quitting , add this line if fields.quit then return -- Stop here, don't re-open the form end
What is this horrible sentence c56? Are you using some agentic browser or something?
no i am sorry i should have explained better i installed this mod (the skincare mod) took the hair straightener item, used it by right clicking with it, it made nice bubbles and worked but when i turned it off and tried to exit the formspec. it did not exit no matter what i did. So i opened the hair_tools.lua in this mod and after looking around i found that the formspec the on_recieved fields handler function (i dont remember the exact name) did not check if the fields.quit is set
Oh I see, a code block would have made things clearer, single or triple backticks.
hi sorry about the long wait i havent had any issues with closing the formspec, i turn it on and off and i can still exit just double click outside of it or press esc cuz theres no exit button in the formspec itself (i could add that tho)