diff options
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h index d502d68a0..bc7829f74 100644 --- a/src/server.h +++ b/src/server.h @@ -489,6 +489,7 @@ public: bool showFormspec(const char *name, const std::string &formspec, const std::string &formname); Map & getMap() { return m_env->getMap(); } + ServerEnvironment & getEnv() { return *m_env; } u32 hudAdd(Player *player, HudElement *element); bool hudRemove(Player *player, u32 id); |