summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-02 21:19:57 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-02 21:19:57 +0100
commitdada2bea27bbc0b5dec68e8089ce5b8c296baabd (patch)
treec87790fa9c5ce89bddb126c94a3a90fb13ce9478 /source/cPlayer.h
parentFixed player spawn teleport postion. (diff)
downloadcuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar.gz
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar.bz2
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar.lz
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar.xz
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.tar.zst
cuberite-dada2bea27bbc0b5dec68e8089ce5b8c296baabd.zip
Diffstat (limited to 'source/cPlayer.h')
-rw-r--r--source/cPlayer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cPlayer.h b/source/cPlayer.h
index 4dedde727..fc546bd8d 100644
--- a/source/cPlayer.h
+++ b/source/cPlayer.h
@@ -56,7 +56,7 @@ public:
bool CanUseCommand( const char* a_Command ); //tolua_export
bool HasPermission( const char* a_Permission ); //tolua_export
const GroupList & GetGroups(); // >> EXPORTED IN MANUALBINDINGS <<
- bool IsInGroup( const char* a_Group ); //tolua_export
+ bool IsInGroup( const char* a_Group ); //tolua_export
std::string GetColor(); //tolua_export
@@ -73,6 +73,8 @@ public:
bool SaveToDisk();
bool LoadFromDisk();
+ const char* GetLoadedWorldName();
+
//Burning logic
bool m_bBurnable;
enum PMetaState{NORMAL,BURNING,CROUCHED,RIDING} e_EPMetaState;