mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Formspec: Show a player inventory using core.show_formspec (#15963)
'core.show_formspec' now shows and updates the inventory formspec as if it was opened using the hotkey on client-side.
This commit is contained in:
@@ -121,6 +121,8 @@ public:
|
||||
u16 protocol_version = 0;
|
||||
u16 formspec_version = 0;
|
||||
|
||||
bool inventory_formspec_overridden = false;
|
||||
|
||||
/// returns PEER_ID_INEXISTENT when PlayerSAO is not ready
|
||||
session_t getPeerId() const { return m_peer_id; }
|
||||
|
||||
|
Reference in New Issue
Block a user