mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
typo fix
This commit is contained in:
parent
165388c8ae
commit
761ac69a20
13 changed files with 7 additions and 23 deletions
|
|
@ -666,7 +666,7 @@ class Player{
|
|||
|
||||
public function sendInventorySlot($s){
|
||||
$this->sendInventory();
|
||||
return;
|
||||
return true;
|
||||
$s = (int) $s;
|
||||
if(!isset($this->inventory[$s])){
|
||||
$pk = new ContainerSetSlotPacket;
|
||||
|
|
@ -1727,7 +1727,7 @@ class Player{
|
|||
$this->server->schedule(50, [$this, "measureLag"], [], true);
|
||||
|
||||
$pk = new SetTimePacket;
|
||||
$pk->time = (int) $this->level->getTime();
|
||||
$pk->time = $this->level->getTime();
|
||||
$pk->started = !$this->level->isTimeStopped();
|
||||
$this->dataPacket($pk);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue