mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Correct teleporting with the new player list handling
This commit is contained in:
parent
7102787aa9
commit
bf1b00f0e6
4 changed files with 42 additions and 37 deletions
|
|
@ -594,7 +594,7 @@ class Entity extends Position{
|
|||
}
|
||||
switch($this->class){
|
||||
case ENTITY_PLAYER:
|
||||
if($this->player->connected !== true or $this->spawned === false){
|
||||
if($this->player->connected !== true or $this->player->spawned === false){
|
||||
return false;
|
||||
}
|
||||
$player->dataPacket(MC_ADD_PLAYER, array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue