Dumb ternary statement was dumb.

This commit is contained in:
GJ 2013-03-28 07:45:35 -04:00
parent 5e36683ff2
commit 24153c2fb1

View File

@ -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;