mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed bug with Leaf Blower & Tree Feller permission nodes
This commit is contained in:
parent
6708947332
commit
deb3a3bd48
@ -18,6 +18,8 @@ Version 1.3.00-dev
|
||||
+ Added Fast Food Service subskill to Taming
|
||||
+ Added size limit to Tree Feller in config as Tree Feller Threshold
|
||||
+ Re-added mcMMO reporting damage events
|
||||
= Fixed bug where Tree Feller wasn't checking for Tree Feller permission
|
||||
= Fixed bug where Leaf Blower required Tree Feller permissions rather than Woodcutting permissions
|
||||
= Fixed Leaf Blower preventing the use of shears to collect leaves
|
||||
= Fixed Green Thumb & Green Terra not consuming or requiring seeds to replant Wheat
|
||||
= Fixed Super Breaker & Giga Drill Breaker failing to damage tools
|
||||
|
@ -256,7 +256,7 @@ public class mcBlockListener implements Listener
|
||||
{
|
||||
if(PP.getHoePreparationMode() && Herbalism.canBeGreenTerra(block))
|
||||
Herbalism.greenTerraCheck(player);
|
||||
if(PP.getAxePreparationMode() && block.getTypeId() == 17)
|
||||
if(PP.getAxePreparationMode() && block.getTypeId() == 17 && mcPermissions.getInstance().woodCuttingAbility(player))
|
||||
WoodCutting.treeFellerCheck(player);
|
||||
if(PP.getPickaxePreparationMode() && Mining.canBeSuperBroken(block))
|
||||
Mining.superBreakerCheck(player);
|
||||
@ -361,7 +361,7 @@ public class mcBlockListener implements Listener
|
||||
* LEAF BLOWER CHECKS
|
||||
*/
|
||||
if(block.getTypeId() == 18
|
||||
&& mcPermissions.getInstance().woodCuttingAbility(player)
|
||||
&& mcPermissions.getInstance().woodcutting(player)
|
||||
&& PP.getSkillLevel(SkillType.WOODCUTTING) >= 100
|
||||
&& m.blockBreakSimulate(block, player))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user