mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Fixed #2126 Items drop twice from tile entities
This commit is contained in:
@ -200,6 +200,9 @@ class McRegion extends BaseLevelProvider{
|
||||
}
|
||||
|
||||
foreach($chunk->getEntities() as $entity){
|
||||
if($entity instanceof Player){
|
||||
continue;
|
||||
}
|
||||
$entity->close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user