mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-08 18:28:47 +01:00
some work on experience rewrites
This commit is contained in:
@@ -258,7 +258,7 @@ public class HerbalismManager extends SkillManager {
|
||||
public void checkDoubleDropsOnBrokenPlants(Player player, Collection<Block> brokenPlants) {
|
||||
|
||||
//Only proceed if skill unlocked and permission enabled
|
||||
if (!RankUtils.hasUnlockedSubskill(player, SubSkillType.HERBALISM_DOUBLE_DROPS)
|
||||
if (!RankUtils.hasUnlockedSubskill(mmoPlayer, SubSkillType.HERBALISM_DOUBLE_DROPS)
|
||||
|| !Permissions.isSubSkillEnabled(player, SubSkillType.HERBALISM_DOUBLE_DROPS)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user