mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-11-30 22:03:22 +01:00
Merge pull request #2 from temez/master
Fixed duping cobblestone and deepslate
This commit is contained in:
commit
0770e7f003
@ -121,7 +121,7 @@ public class Furnace {
|
|||||||
|
|
||||||
FurnaceInventory inventory = (FurnaceInventory) ((InventoryHolder) block.getState()).getInventory();
|
FurnaceInventory inventory = (FurnaceInventory) ((InventoryHolder) block.getState()).getInventory();
|
||||||
|
|
||||||
if (event.getSource().getType().name().contains("SPONGE"))
|
if (event.getSource().getType().name().contains("SPONGE") || event.getSource().getType().name().contains("COBBLESTONE") || event.getSource().getType().name().contains("DEEPSLATE"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int num = Integer.parseInt(reward);
|
int num = Integer.parseInt(reward);
|
||||||
|
Loading…
Reference in New Issue
Block a user