mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-02 05:34:44 +02:00
Moving the center of block drops to block center. Fixes #2544.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user