mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Time now is displayed correctly
This commit is contained in:
parent
28480424c5
commit
16a8566fca
3 changed files with 25 additions and 11 deletions
|
|
@ -192,9 +192,9 @@ class CustomPacketHandler{
|
|||
break;
|
||||
case MC_SET_TIME:
|
||||
if($this->c === false){
|
||||
$this->data["time"] = Utils::readLong($this->get(4));
|
||||
$this->data["time"] = Utils::readInt($this->get(4));
|
||||
}else{
|
||||
$this->raw .= Utils::writeLong($this->data["time"]);
|
||||
$this->raw .= Utils::writeInt($this->data["time"]);
|
||||
}
|
||||
break;
|
||||
case MC_START_GAME:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue