Permalink
Browse files

Added wet sponge -> sponge as a smeltable result.

  • Loading branch information...
me4502 committed Dec 2, 2016
1 parent b3c4eef commit 0f9ee926b9e1bb79ee889183e670dedb2cb98d6f
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/com/sk89q/craftbook/util/ItemUtil.java
@@ -476,6 +476,10 @@ public static ItemStack getSmeletedResult(ItemStack item) {
return new ItemStack(Material.HARD_CLAY);
case QUARTZ_ORE:
return new ItemStack(Material.QUARTZ);
+ case SPONGE:
+ if (item.getData().getData() == 0)
+ return null;
+ else return new ItemStack(Material.SPONGE);
default:
return null;
}

0 comments on commit 0f9ee92

Please sign in to comment.