Moving the center of block drops to block center. Fixes #2544.

This commit is contained in:
Sid Shakal
2016-03-16 11:47:40 -05:00
parent 1488946fc5
commit 123a139e43
9 changed files with 26 additions and 21 deletions

View File

@ -85,7 +85,7 @@ public class SmeltingManager extends SkillManager {
SkillUtils.handleDurabilityChange(getPlayer().getInventory().getItemInMainHand(), Config.getInstance().getAbilityToolDamage());
Misc.dropItems(blockState.getLocation(), item, isSecondSmeltSuccessful() ? 2 : 1);
Misc.dropItems(Misc.getBlockCenter(blockState), item, isSecondSmeltSuccessful() ? 2 : 1);
blockState.setType(Material.AIR);