Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntity
/tp command should work again :) git-svn-id: http://mc-server.googlecode.com/svn/trunk@314 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -111,7 +111,7 @@ void cPawn::KilledBy( cEntity* a_Killer )
|
||||
|
||||
|
||||
|
||||
void cPawn::TeleportTo( cEntity* a_Entity )
|
||||
void cPawn::TeleportToEntity( cEntity* a_Entity )
|
||||
{
|
||||
TeleportTo( a_Entity->GetPosX(), a_Entity->GetPosY(), a_Entity->GetPosZ() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user