mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
lead poisoning, brain no work :(
This commit is contained in:
parent
0135b66884
commit
029c2f226f
@ -32,11 +32,12 @@ public class AnvilSmithingMold extends AnvilSmithingRecipe {
|
||||
if(matchesPrefix != null && left.stackSize == matchesPrefix.stacksize) {
|
||||
List<String> names = ItemStackUtil.getOreDictNames(left);
|
||||
|
||||
outer:
|
||||
for(String name : names) {
|
||||
|
||||
for(String otherPrefix : OreNames.prefixes) {
|
||||
if(otherPrefix.length() > matchesPrefix.name.length() && name.startsWith(otherPrefix)) {
|
||||
continue; //ignore if there's a longer prefix that matches (i.e. a more accurate match)
|
||||
continue outer; //ignore if there's a longer prefix that matches (i.e. a more accurate match)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user