mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +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],
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user