creative & survival hotbar bugfix

:P
This commit is contained in:
Yosshi999 2014-08-18 21:18:14 +09:00
parent 0f04f4bc8a
commit baa34a7cca

View File

@ -1396,7 +1396,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
Block::$creative[$slot][1], Block::$creative[$slot][1],
1 1
); );
$this->inventory->setHeldItemIndex($index); $this->inventory->setHeldItemIndex($packet->slot);
}else{ }else{
$this->inventory->setHeldItemSlot($slot); $this->inventory->setHeldItemSlot($slot);
} }