mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-09-28 22:57:30 +02:00
Made block removing in the auto collect module run sync.
This commit is contained in:
parent
dd7c6dfcb5
commit
e61e1bc6b3
@ -58,7 +58,7 @@ public class ModuleAutoCollect extends Module {
|
||||
BlockUtils.resetGrowthStage(block));
|
||||
continue;
|
||||
}
|
||||
block.setType(Material.AIR);
|
||||
Bukkit.getScheduler().runTask(plugin, () -> block.setType(Material.AIR));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user