mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix OpenToLAN.java
This commit is contained in:
parent
c9dd06ba20
commit
ca78305d40
@ -83,7 +83,7 @@ public class OpenToLAN {
|
||||
|
||||
eventCooldown = new Cooldown(config.delayBetweenEvent);
|
||||
task = MinecraftServer.getSchedulerManager().buildTask(OpenToLAN::ping)
|
||||
.repeat(config.delayBetweenPings.getValue(), config.delayBetweenPings.getTimeUnit())
|
||||
.repeat(config.delayBetweenPings)
|
||||
.schedule();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user