mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 03:35:33 +00:00
Removed redundant method override leftover from 0.15
This commit is contained in:
parent
1da870b298
commit
217f66e180
@ -503,17 +503,6 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function despawnFrom(Player $player){
|
|
||||||
if(isset($this->hasSpawned[$player->getLoaderId()])){
|
|
||||||
|
|
||||||
$pk = new RemoveEntityPacket();
|
|
||||||
$pk->eid = $this->getId();
|
|
||||||
|
|
||||||
$player->dataPacket($pk);
|
|
||||||
unset($this->hasSpawned[$player->getLoaderId()]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public function close(){
|
public function close(){
|
||||||
if(!$this->closed){
|
if(!$this->closed){
|
||||||
if(!($this instanceof Player) or $this->loggedIn){
|
if(!($this instanceof Player) or $this->loggedIn){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user