fixed inv desync

This commit is contained in:
GameHerobrine 2024-02-15 01:02:00 +03:00
parent 75844b5a62
commit cfabae7583

View file

@ -594,6 +594,8 @@ class Player{
}
public function sendInventorySlot($s){
$this->sendInventory();
return;
$s = (int) $s;
if(!isset($this->inventory[$s])){
$pk = new ContainerSetSlotPacket;
@ -1313,7 +1315,7 @@ class Player{
$this->chunkCount = [];
$this->cratingItems = [];
$this->received = [];
$this->entity->close();
//$this->entity->close();
}
}