Add an exception for drying rack recipies to work with frying-pan kills

This commit is contained in:
Bernhard Bonigl committed 2015-04-09 21:30:58 +02:00
1 parent 2931a54a1d
commit 64217dcf27
1 file changed
+7
@@ -71,6 +71,13 @@ public class DryingRackRecipes
public boolean matches (ItemStack input)
{
// makes all drying rack recipies compatible with stuff killed by a frying pan
if(input.hasTagCompound()) {
input = input.copy();
input.getTagCompound().removeTag("frypanKill");
if(input.getTagCompound().hasNoTags())
input.setTagCompound(null);
}
return ItemStack.areItemStacksEqual(this.input, input);
}