Merge pull request #2 from temez/master

Fixed duping cobblestone and deepslate
This commit is contained in:
Christian Koop 2022-07-07 20:41:15 +02:00 committed by GitHub
commit 0770e7f003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ public class Furnace {
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;
int num = Integer.parseInt(reward);