mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36: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 Fast Food Service subskill to Taming
|
||||||
+ Added size limit to Tree Feller in config as Tree Feller Threshold
|
+ Added size limit to Tree Feller in config as Tree Feller Threshold
|
||||||
+ Re-added mcMMO reporting damage events
|
+ 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 Leaf Blower preventing the use of shears to collect leaves
|
||||||
= Fixed Green Thumb & Green Terra not consuming or requiring seeds to replant Wheat
|
= Fixed Green Thumb & Green Terra not consuming or requiring seeds to replant Wheat
|
||||||
= Fixed Super Breaker & Giga Drill Breaker failing to damage tools
|
= 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))
|
if(PP.getHoePreparationMode() && Herbalism.canBeGreenTerra(block))
|
||||||
Herbalism.greenTerraCheck(player);
|
Herbalism.greenTerraCheck(player);
|
||||||
if(PP.getAxePreparationMode() && block.getTypeId() == 17)
|
if(PP.getAxePreparationMode() && block.getTypeId() == 17 && mcPermissions.getInstance().woodCuttingAbility(player))
|
||||||
WoodCutting.treeFellerCheck(player);
|
WoodCutting.treeFellerCheck(player);
|
||||||
if(PP.getPickaxePreparationMode() && Mining.canBeSuperBroken(block))
|
if(PP.getPickaxePreparationMode() && Mining.canBeSuperBroken(block))
|
||||||
Mining.superBreakerCheck(player);
|
Mining.superBreakerCheck(player);
|
||||||
@ -361,7 +361,7 @@ public class mcBlockListener implements Listener
|
|||||||
* LEAF BLOWER CHECKS
|
* LEAF BLOWER CHECKS
|
||||||
*/
|
*/
|
||||||
if(block.getTypeId() == 18
|
if(block.getTypeId() == 18
|
||||||
&& mcPermissions.getInstance().woodCuttingAbility(player)
|
&& mcPermissions.getInstance().woodcutting(player)
|
||||||
&& PP.getSkillLevel(SkillType.WOODCUTTING) >= 100
|
&& PP.getSkillLevel(SkillType.WOODCUTTING) >= 100
|
||||||
&& m.blockBreakSimulate(block, player))
|
&& m.blockBreakSimulate(block, player))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user