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
1 changed files with 0 additions and 3 deletions

View File

@ -37,7 +37,6 @@ import com.google.common.base.Enums;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.util.Util;
import world.bentobox.greenhouses.Greenhouses;
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
if (block.block().getType().equals(Material.WATER)) {
BentoBox.getInstance().logDebug("Water block");
if (!UNDERWATER_PLANTS.contains(p.plantMaterial())) {
return false;
}
BentoBox.getInstance().logDebug("Water plant");
} else if (UNDERWATER_PLANTS.contains(p.plantMaterial())) {
return false;
}