From 24153c2fb1390261e3af48803790d1b93b25f8a8 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 28 Mar 2013 07:45:35 -0400 Subject: [PATCH] Dumb ternary statement was dumb. --- .../com/gmail/nossr50/skills/herbalism/HerbalismManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java index 4479e9661..821d955ab 100644 --- a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java +++ b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java @@ -114,7 +114,7 @@ public class HerbalismManager extends SkillManager { */ public void herbalismBlockCheck(BlockState blockState) { Material material = blockState.getType(); - boolean oneBlockPlant = (material == Material.CACTUS || material == Material.SUGAR_CANE_BLOCK) ? false : true; + boolean oneBlockPlant = !(material == Material.CACTUS || material == Material.SUGAR_CANE_BLOCK); if (oneBlockPlant && mcMMO.placeStore.isTrue(blockState)) { return;