Till snow.

This commit is contained in:
Brianna 2020-02-26 08:31:06 -05:00
parent 0056ed92f3
commit 5a2d01b8c9

View File

@ -132,7 +132,8 @@ public class Farm {
|| b2.getType() == CompatibleMaterial.AZURE_BLUET.getMaterial() || b2.getType() == CompatibleMaterial.AZURE_BLUET.getMaterial()
|| b2.getType() == CompatibleMaterial.ALLIUM.getMaterial() || b2.getType() == CompatibleMaterial.ALLIUM.getMaterial()
|| b2.getType() == CompatibleMaterial.POPPY.getMaterial() || b2.getType() == CompatibleMaterial.POPPY.getMaterial()
|| b2.getType() == CompatibleMaterial.DANDELION.getMaterial()) { || b2.getType() == CompatibleMaterial.DANDELION.getMaterial()
|| b2.getType() == CompatibleMaterial.SNOW.getMaterial()) {
Bukkit.getScheduler().runTaskLater(EpicFarming.getInstance(), () -> { Bukkit.getScheduler().runTaskLater(EpicFarming.getInstance(), () -> {
b2.getRelative(BlockFace.DOWN).setType(CompatibleMaterial.FARMLAND.getMaterial()); b2.getRelative(BlockFace.DOWN).setType(CompatibleMaterial.FARMLAND.getMaterial());
b2.breakNaturally(); b2.breakNaturally();