Merge remote-tracking branch 'origin/mcpe-0.12' into php7

This commit is contained in:
Shoghi Cervantes
2015-09-12 01:03:09 +02:00
7 changed files with 50 additions and 10 deletions

View File

@ -1691,7 +1691,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
if($this->isCreative()){
$this->inventory->setHeldItemSlot(0);
}else{
$this->inventory->setHeldItemSlot(0);
$this->inventory->setHeldItemSlot($this->inventory->getHotbarSlotIndex(0));
}
$pk = new PlayStatusPacket();