mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Merge pull request #938 from tterrag1098/patch-2
Use the stack sensitive unloc name in seed matcher
This commit is contained in:
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++)
|
||||
|
||||
Reference in new issue
Block a user