This should guarantee that any seed gets accepted

One of my mods adds a "camelliaSeed" item that wasn't being picked up due to the capital S. This should fix it.
This commit is contained in:
ganymedes01 committed 2014-07-11 03:43:41 +01:00
1 parent 89bfa65031
commit ba7387af48
1 file changed
+1 -1
@@ -82,7 +82,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory {
break;
}
}
} else if(stack.getItem() != null && stack.getItem().getUnlocalizedName().contains("seed")) {
} else if(stack.getItem() != null && stack.getItem().getUnlocalizedName().toLowerCase().contains("seed")) {
for(RecipePetals recipe : BotaniaAPI.petalRecipes) {
if(recipe.matches(this)) {
for(int i = 0; i < getSizeInventory(); i++)