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/cEntity.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cEntity.h') diff --git a/source/cEntity.h b/source/cEntity.h index af86c2606..80fc33cf1 100644 --- a/source/cEntity.h +++ b/source/cEntity.h @@ -86,6 +86,7 @@ public: //tolua_export void WrapRotation(); protected: + void SetWorld( cWorld* a_World ) { m_World = a_World; } void MoveToCorrectChunk(bool a_bIgnoreOldChunk = false); friend class cReferenceManager; -- cgit v1.2.3