mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-09 15:55:28 +02:00
Fixed bug with Green Terra not activating
This commit is contained in:
@@ -210,7 +210,7 @@ public class mcBlockListener implements Listener {
|
|||||||
* ABILITY PREPARATION CHECKS
|
* ABILITY PREPARATION CHECKS
|
||||||
*/
|
*/
|
||||||
if (BlockChecks.abilityBlockCheck(mat)) {
|
if (BlockChecks.abilityBlockCheck(mat)) {
|
||||||
if (PP.getHoePreparationMode() && Herbalism.canBeGreenTerra(mat)) {
|
if (PP.getHoePreparationMode() && (Herbalism.canBeGreenTerra(mat) || Herbalism.makeMossy(mat))) {
|
||||||
Skills.abilityCheck(player, SkillType.HERBALISM);
|
Skills.abilityCheck(player, SkillType.HERBALISM);
|
||||||
}
|
}
|
||||||
else if (PP.getAxePreparationMode() && mat.equals(Material.LOG) && mcPermissions.getInstance().woodCuttingAbility(player)) { //Why are we checking the permissions here?
|
else if (PP.getAxePreparationMode() && mat.equals(Material.LOG) && mcPermissions.getInstance().woodCuttingAbility(player)) { //Why are we checking the permissions here?
|
||||||
|
Reference in New Issue
Block a user