Fixed skins issue

This commit is contained in:
Shoghi Cervantes
2015-06-07 12:17:27 +02:00
parent e5f28e0f7a
commit 383fcba8e1
2 changed files with 9 additions and 7 deletions

View File

@ -567,7 +567,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
public function setSkin($str, $isSlim = false){
parent::setSkin($str, $isSlim);
if($this->spawned === true){
if($this->spawned){
$this->respawnToAll();
}
}