mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed inv desync
This commit is contained in:
parent
75844b5a62
commit
cfabae7583
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue