mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Oh well that fixes block placing
This commit is contained in:
parent
8a3c5ab6a1
commit
a65109ff34
@ -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()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user