Send a on_receive_fields event when formspec is closed, with fields.quit = "true"
This commit is contained in:
@@ -227,7 +227,7 @@ class GUIFormSpecMenu : public GUIModalMenu
|
||||
void updateSelectedItem();
|
||||
ItemStack verifySelectedItem();
|
||||
|
||||
void acceptInput();
|
||||
void acceptInput(bool quit);
|
||||
bool preprocessEvent(const SEvent& event);
|
||||
bool OnEvent(const SEvent& event);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user