Drowned Transformation will no longer enabled XP on mob spawners, Kelp will now count the whole block for XP

This commit is contained in:
nossr50
2019-03-13 13:27:16 -07:00
parent 7296deb149
commit bb46b2a6ac
4 changed files with 19 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public class HerbalismManager extends SkillManager {
public void herbalismBlockCheck(BlockState blockState) {
Player player = getPlayer();
Material material = blockState.getType();
boolean oneBlockPlant = !(material == Material.CACTUS || material == Material.CHORUS_PLANT || material == Material.SUGAR_CANE);
boolean oneBlockPlant = !(material == Material.CACTUS || material == Material.CHORUS_PLANT || material == Material.SUGAR_CANE || material == Material.KELP_PLANT);
// Prevents placing and immediately breaking blocks for exp
if (oneBlockPlant && mcMMO.getPlaceStore().isTrue(blockState)) {