PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.26k stars 660 forks source link

unused / useless $pk #4181

Closed inxomnyaa closed 6 years ago

inxomnyaa commented 8 years ago

$pk = new MobArmorEquipmentPacket(); $pk->eid = $this->getHolder()->getId(); $pk->slots = $armor; $pk->encode(); $pk; $pk->isEncoded = true;

in PlayerInventory.php