mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Fixed #1583 not repeated Tasks getting repeated
This commit is contained in:
parent
3e53ecdfb3
commit
981796fd4c
@ -172,7 +172,7 @@ class ServerScheduler{
|
||||
$delay = -1;
|
||||
}
|
||||
|
||||
if($period < -1){
|
||||
if($period <= -1){
|
||||
$period = -1;
|
||||
}elseif($period < 1){
|
||||
$period = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user