mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Merge commit '42e14f749'
# Conflicts: # resources/vanilla # src/pocketmine/Player.php # src/pocketmine/item/Bow.php # src/world/World.php
This commit is contained in:
@ -173,11 +173,6 @@ class InGamePacketHandler extends PacketHandler{
|
||||
}
|
||||
|
||||
public function handleInventoryTransaction(InventoryTransactionPacket $packet) : bool{
|
||||
if($this->player->isSpectator()){
|
||||
$this->session->getInvManager()->syncAll();
|
||||
return true;
|
||||
}
|
||||
|
||||
$result = true;
|
||||
|
||||
if($packet->trData instanceof NormalTransactionData){
|
||||
|
Reference in New Issue
Block a user