mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Tree Feller drops saplings again
This commit is contained in:
parent
a4fd632d53
commit
5b6a57d7a8
@ -1,4 +1,5 @@
|
||||
Version 2.1.154
|
||||
Fixed a bug where Tree Feller was not dropping stuff like saplings
|
||||
(API) Author class has been reworked
|
||||
(API) McMMOChatEvent::getSender removed (use getDisplayName() instead)
|
||||
(API) McMMMOChatEvent::setDisplayName() removed (you can set author names in Author)
|
||||
|
@ -301,7 +301,8 @@ public class WoodcuttingManager extends SkillManager {
|
||||
processHarvestLumber(blockState);
|
||||
} else if (BlockUtils.isNonWoodPartOfTree(blockState)) {
|
||||
//Drop displaced non-woodcutting XP blocks
|
||||
Misc.spawnItemsFromCollection(Misc.getBlockCenter(blockState), block.getDrops(), ItemSpawnReason.TREE_FELLER_DISPLACED_BLOCK, 1);
|
||||
// Misc.spawnItemsFromCollection(Misc.getBlockCenter(blockState), block.getDrops(), ItemSpawnReason.TREE_FELLER_DISPLACED_BLOCK, 1);
|
||||
Misc.spawnItemsFromCollection(Misc.getBlockCenter(blockState), block.getDrops(), ItemSpawnReason.TREE_FELLER_DISPLACED_BLOCK);
|
||||
}
|
||||
|
||||
blockState.setType(Material.AIR);
|
||||
|
Loading…
Reference in New Issue
Block a user