Fixed placed-log flag checks

This commit is contained in:
bm01 2013-01-23 19:19:22 +01:00
parent 64137995c2
commit de5110310f

View File

@ -179,8 +179,8 @@ public class BlockListener implements Listener {
} }
/* WOOD CUTTING */ /* WOOD CUTTING */
else if (BlockChecks.isLog(block) && Permissions.woodcutting(player)) { else if (BlockChecks.isLog(block) && Permissions.woodcutting(player) && !mcMMO.placeStore.isTrue(block)) {
if (!mcMMO.placeStore.isTrue(block) && profile.getAbilityMode(AbilityType.TREE_FELLER) && Permissions.treeFeller(player) && ItemChecks.isAxe(inHand)) { if (profile.getAbilityMode(AbilityType.TREE_FELLER) && Permissions.treeFeller(player) && ItemChecks.isAxe(inHand)) {
Woodcutting.beginTreeFeller(event); Woodcutting.beginTreeFeller(event);
} }
else { else {