mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Oh well that fixes block placing
This commit is contained in:
@ -1945,7 +1945,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
break;
|
||||
}
|
||||
}
|
||||
}elseif($item === null or $slot === -1 or $item->equals($packet->item, true)){ // packet error or not implemented
|
||||
}elseif($item === null or $slot === -1 or !$item->equals($packet->item, true)){ // packet error or not implemented
|
||||
$this->inventory->sendContents($this);
|
||||
break;
|
||||
}elseif($this->isCreative()){
|
||||
|
Reference in New Issue
Block a user