mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed armor dropping twice
This commit is contained in:
parent
98340522d9
commit
0bc9a9bdab
@ -85,10 +85,6 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
foreach($this->inventory->getContents() as $item){
|
||||
$drops[] = $item;
|
||||
}
|
||||
|
||||
foreach($this->inventory->getArmorContents() as $item){
|
||||
$drops[] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
return $drops;
|
||||
|
Loading…
x
Reference in New Issue
Block a user