1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-03 22:24:43 +02:00

Fixed Treefeller trying to cut too many leaves

This commit is contained in:
bm01
2013-03-16 16:48:55 +01:00
parent c14f3777c0
commit 3f56c8e690
2 changed files with 5 additions and 1 deletions
Changelog.txt
src/main/java/com/gmail/nossr50/skills/woodcutting

@ -259,6 +259,9 @@ public final class Woodcutting {
return;
}
futureCenterBlocks.add(blockState);
// Without this check Tree Feller propagates through leaves until the threshold is hit
if (BlockUtils.isLog(blockState)) {
futureCenterBlocks.add(blockState);
}
}
}