mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Removed debug code
This commit is contained in:
parent
85c43ba011
commit
ea7c0cb357
@ -2220,9 +2220,6 @@ class Level implements ChunkManager, Metadatable{
|
||||
}
|
||||
if($entity instanceof Player){
|
||||
$this->players[$entity->getId()] = $entity;
|
||||
}else{
|
||||
$entity->setDataProperty(Entity::DATA_NAMETAG, Entity::DATA_TYPE_STRING, (new \ReflectionObject($entity))->getShortName());
|
||||
$entity->setDataProperty(Entity::DATA_SHOW_NAMETAG, Entity::DATA_TYPE_BYTE, 1);
|
||||
}
|
||||
$this->entities[$entity->getId()] = $entity;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user