mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
creative & survival hotbar bugfix
:P
This commit is contained in:
parent
0f04f4bc8a
commit
baa34a7cca
@ -1396,7 +1396,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
Block::$creative[$slot][1],
|
||||
1
|
||||
);
|
||||
$this->inventory->setHeldItemIndex($index);
|
||||
$this->inventory->setHeldItemIndex($packet->slot);
|
||||
}else{
|
||||
$this->inventory->setHeldItemSlot($slot);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user