Fix override duplication caused by bad comparison.

This commit is contained in:
LexManos 2017-07-05 14:41:24 -07:00
parent 7b0a005167
commit fdfaa5036d

View file

@ -655,7 +655,7 @@ public class ForgeRegistry<V extends IForgeRegistryEntry<V>> implements IForgeRe
continue; continue;
} }
if (primaryName.equals(owner)) if (primaryName.equals(owner.owner))
continue; continue;
int realId = add(newId, value, owner.owner); int realId = add(newId, value, owner.owner);