Remove debug

https://github.com/BentoBoxWorld/Greenhouses/issues/97
This commit is contained in:
tastybento 2023-01-01 21:17:39 -08:00
parent bba0b33133
commit 10a1d63778

View File

@ -37,7 +37,6 @@ import com.google.common.base.Enums;
import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap; import com.google.common.collect.Multimap;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.util.Util; import world.bentobox.bentobox.util.Util;
import world.bentobox.greenhouses.Greenhouses; import world.bentobox.greenhouses.Greenhouses;
import world.bentobox.greenhouses.data.Greenhouse; import world.bentobox.greenhouses.data.Greenhouse;
@ -564,11 +563,9 @@ public class BiomeRecipe implements Comparable<BiomeRecipe> {
} }
// Underwater plants can only be placed in water and regular plants cannot be placed in water // Underwater plants can only be placed in water and regular plants cannot be placed in water
if (block.block().getType().equals(Material.WATER)) { if (block.block().getType().equals(Material.WATER)) {
BentoBox.getInstance().logDebug("Water block");
if (!UNDERWATER_PLANTS.contains(p.plantMaterial())) { if (!UNDERWATER_PLANTS.contains(p.plantMaterial())) {
return false; return false;
} }
BentoBox.getInstance().logDebug("Water plant");
} else if (UNDERWATER_PLANTS.contains(p.plantMaterial())) { } else if (UNDERWATER_PLANTS.contains(p.plantMaterial())) {
return false; return false;
} }