This commit is contained in:
Brianna O'Keefe 2018-11-04 00:45:49 -05:00
parent 1a4e7e8635
commit 32b71f0d78

View File

@ -49,8 +49,10 @@ public class FarmTask extends BukkitRunnable {
}
for (Block block : getCrops(farm, true)) {
if (!CropType.isCrop(block.getType())) continue;
Crops crop = (Crops) block.getState().getData();
// Add to GrowthTask
plugin.getGrowthTask().addLiveCrop(block.getLocation(), new Crop(block.getLocation(), farm));