mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-19 05:15:47 +01:00
@@ -170,7 +170,8 @@ struct LocalFormspecHandler : public TextDest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Don't disable this part when modding is disabled, it's used in builtin
|
// 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;
|
Client *m_client;
|
||||||
|
|||||||
Reference in New Issue
Block a user