mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Use the stack sensitive unloc name in seed matcher
Fixes KitchenCraft seeds not working with the apothecary
This commit is contained in:
1 parent
95895b14bb
commit
c4beac7172
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++)
|
||||
|
||||
Reference in new issue
Block a user