fix region
This commit is contained in:
parent
abb4357339
commit
3b053c304f
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ public class FoliaFlow extends JavaPlugin implements Listener {
|
||||||
if (block.getType() == Material.OBSIDIAN) {
|
if (block.getType() == Material.OBSIDIAN) {
|
||||||
block.setType(Material.AIR);
|
block.setType(Material.AIR);
|
||||||
}
|
}
|
||||||
}, 0L, 1L);
|
}, 1L, 1L);
|
||||||
AsyncScheduler scheduler = getServer().getAsyncScheduler();
|
AsyncScheduler scheduler = getServer().getAsyncScheduler();
|
||||||
task = scheduler.runAtFixedRate(this, (scheduledTask) -> getScheduler().runTask(this, () -> {
|
task = scheduler.runAtFixedRate(this, (scheduledTask) -> getScheduler().runTask(this, () -> {
|
||||||
for (World world : Bukkit.getWorlds()) {
|
for (World world : Bukkit.getWorlds()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue