mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +02:00
Fixed Tree Feller dropping sideways log items
This commit is contained in:
@ -199,7 +199,7 @@ public abstract class TreeFeller {
|
||||
Misc.dropItem(block.getLocation(), new ItemStack(Material.LOG, 1, block.getData()));
|
||||
break;
|
||||
case LEAVES:
|
||||
Misc.randomDropItem(block.getLocation(), new ItemStack(Material.SAPLING, 1, (short) (block.getData() & 3)), 10);
|
||||
Misc.randomDropItem(block.getLocation(), new ItemStack(Material.SAPLING, 1, Woodcutting.extractLogItemData(block.getData())), 10);
|
||||
break;
|
||||
default:
|
||||
if (ModChecks.isCustomLogBlock(block)) {
|
||||
|
Reference in New Issue
Block a user