geforkt von Mirrors/Paper
Fix CraftScheduler#runTaskTimerAsynchronously(Plugin, Consumer<BukkitTask>, long, long) scheduling a non-repeating task instead of a repeating one.
Dieser Commit ist enthalten in:
Ursprung
6815064398
Commit
2e59889281
@ -196,7 +196,7 @@ public class CraftScheduler implements BukkitScheduler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void runTaskTimerAsynchronously(Plugin plugin, Consumer<? super BukkitTask> task, long delay, long period) throws IllegalArgumentException {
|
public void runTaskTimerAsynchronously(Plugin plugin, Consumer<? super BukkitTask> task, long delay, long period) throws IllegalArgumentException {
|
||||||
this.runTaskTimerAsynchronously(plugin, (Object) task, delay, CraftTask.NO_REPEATING);
|
this.runTaskTimerAsynchronously(plugin, (Object) task, delay, period); // Paper
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren