Preparing 1.8 update
Added Spectator gamemode
This commit is contained in:
parent
120b23d65e
commit
f246faec16
@ -188,6 +188,9 @@ public:
|
||||
/** Returns true if the world is in Adventure mode */
|
||||
bool IsGameModeAdventure(void) const { return (m_GameMode == gmAdventure); }
|
||||
|
||||
/** Returns true if the world is in Spectator mode */
|
||||
bool IsGameModeAdventure(void) const { return (m_GameMode == gmSpectator); }
|
||||
|
||||
bool IsPVPEnabled(void) const { return m_bEnabledPVP; }
|
||||
bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user