Merge pull request #938 from tterrag1098/patch-2

Use the stack sensitive unloc name in seed matcher
This commit is contained in:
Lizbeth Rika committed 2015-05-12 14:57:23 +01:00
commit 630535e43e
1 file changed
+1 -1
@@ -97,7 +97,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory, I
break;
}
}
} else if(stack.getItem() != null && SEED_PATTERN.matcher(stack.getItem().getUnlocalizedName()).find()) {
} else if(stack.getItem() != null && SEED_PATTERN.matcher(stack.getItem().getUnlocalizedName(stack)).find()) {
for(RecipePetals recipe : BotaniaAPI.petalRecipes) {
if(recipe.matches(this)) {
for(int i = 0; i < getSizeInventory(); i++)