Fixed sideway logs handling

This commit is contained in:
bm01
2013-01-22 23:44:53 +01:00
parent 69475f92c7
commit ee91ed8708
2 changed files with 9 additions and 7 deletions

View File

@ -188,8 +188,6 @@ public abstract class TreeFeller {
case LOG:
Woodcutting.checkDoubleDrop(player, block);
byte extraData = block.getData();
try {
xp += Woodcutting.getExperienceFromLog(block);
}
@ -199,7 +197,7 @@ public abstract class TreeFeller {
// TODO: Nerf XP from jungle trees, as it was done previously
Misc.dropItem(block.getLocation(), new ItemStack(Material.LOG, 1, extraData));
Misc.dropItem(block.getLocation(), new ItemStack(Material.LOG, 1, block.getData()));
break;
case LEAVES:
Misc.randomDropItem(block.getLocation(), new ItemStack(Material.LOG, 1, (short) (block.getData() & 3)), 10);