mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2025-02-03 05:01:23 +01:00
Fix for duplication bug SD-9118
This commit is contained in:
parent
cdf58e8db5
commit
c93cdb5a33
@ -124,7 +124,7 @@ public class BlockListeners implements Listener {
|
||||
: block.getType(), level, furnace.getUses());
|
||||
|
||||
// By cancelling the event we destroy any chance of items dropping form the furnace. This fixes the problem.
|
||||
furnace.dropItems();
|
||||
//furnace.dropItems(); No need to drop items. dropItemNaturally() will drop the items inside the furnance
|
||||
|
||||
event.getBlock().setType(Material.AIR);
|
||||
event.getBlock().getLocation().getWorld().dropItemNaturally(event.getBlock().getLocation(), item);
|
||||
|
Loading…
Reference in New Issue
Block a user