mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
Level: use increment operation for updating time
This commit is contained in:
parent
bac649137b
commit
f2511983cf
@ -671,7 +671,7 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
if($this->stopTime){
|
if($this->stopTime){
|
||||||
return;
|
return;
|
||||||
}else{
|
}else{
|
||||||
$this->time += 1;
|
++$this->time;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user