From eb942797b8a1321f7460cea7763bb6891affd475 Mon Sep 17 00:00:00 2001 From: faketruth Date: Mon, 26 Dec 2011 21:54:08 +0000 Subject: Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() Changed isValidItem to IsValidItem in Core.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@126 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cPlayer.h') diff --git a/source/cPlayer.h b/source/cPlayer.h index 6f52b3f1f..17e575e91 100644 --- a/source/cPlayer.h +++ b/source/cPlayer.h @@ -75,6 +75,8 @@ public: void SetVisible( bool a_bVisible ); //tolua_export bool IsVisible() { return m_bVisible; } //tolua_export + bool MoveToWorld( const char* a_WorldName ); //tolua_export + bool SaveToDisk(); bool LoadFromDisk(); -- cgit v1.2.3