mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
fb4bfc60de
commit
119aa5c919
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ struct LocalFormspecHandler : public TextDest
|
|||
}
|
||||
|
||||
// Don't disable this part when modding is disabled, it's used in builtin
|
||||
m_client->getScript()->on_formspec_input(m_formname, fields);
|
||||
if (m_client && m_client->getScript())
|
||||
m_client->getScript()->on_formspec_input(m_formname, fields);
|
||||
}
|
||||
|
||||
Client *m_client;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue