mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fix time bugs
This commit is contained in:
parent
bf4b96e144
commit
a6f8379c40
@ -609,10 +609,10 @@ class Level implements ChunkManager, Metadatable{
|
||||
* Changes to this function won't be recorded on the version.
|
||||
*/
|
||||
public function checkTime(){
|
||||
if($this->stopTime == true){
|
||||
if($this->stopTime === true){
|
||||
return;
|
||||
}else{
|
||||
$this->time += 1.25;
|
||||
$this->time += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user