Disallow formspec debug if the player does not have the debug privilege (#14753)
This commit is contained in:
@@ -223,6 +223,11 @@ class GUIFormSpecMenu : public GUIModalMenu
|
||||
m_allowclose = value;
|
||||
}
|
||||
|
||||
void setDebugView(bool value)
|
||||
{
|
||||
m_show_debug = value;
|
||||
}
|
||||
|
||||
void lockSize(bool lock,v2u32 basescreensize=v2u32(0,0))
|
||||
{
|
||||
m_lock = lock;
|
||||
|
||||
Reference in New Issue
Block a user