From e7b763c8eacfa7bd2e3bf858cda8578cd6626271 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 14 Feb 2012 17:42:12 -0500 Subject: [PATCH] Added config values for Dirt & Smooth Brick to Green Terra. Config values are useless when not implemented. --- .../java/com/gmail/nossr50/skills/Herbalism.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/Herbalism.java b/src/main/java/com/gmail/nossr50/skills/Herbalism.java index 24747735a..1b3f85c05 100644 --- a/src/main/java/com/gmail/nossr50/skills/Herbalism.java +++ b/src/main/java/com/gmail/nossr50/skills/Herbalism.java @@ -103,12 +103,12 @@ public class Herbalism if(hasSeeds(player) && block.getType() != Material.WHEAT) { removeSeeds(player); - if(block.getType() == Material.SMOOTH_BRICK) - block.setData((byte)1); - if(block.getType() == Material.DIRT) - block.setType(Material.GRASS); - if(LoadProperties.enableCobbleToMossy && block.getType() == Material.COBBLESTONE) - block.setType(Material.MOSSY_COBBLESTONE); + if(LoadProperties.enableSmoothToMossy && block.getType() == Material.SMOOTH_BRICK) + block.setData((byte)1); + if(LoadProperties.enableDirtToGrass && block.getType() == Material.DIRT) + block.setType(Material.GRASS); + if(LoadProperties.enableCobbleToMossy && block.getType() == Material.COBBLESTONE) + block.setType(Material.MOSSY_COBBLESTONE); } } }