Merge pull request #5 from GTNewHorizons/disguisefix

Fixes armor disguise requiring wrong research
This commit is contained in:
Martin Robertz authored and GitHub committed 2020-10-24 01:51:41 +02:00
commit 6dadafd8ef
1 file changed
+1 -1
@@ -38,7 +38,7 @@ public class InfusionDisguiseArmor extends InfusionRunicAugmentRecipe {
@Override
public boolean matches(ArrayList<ItemStack> input, ItemStack central, World world, EntityPlayer player) {
if(input.size() != InfusionDisguiseArmor.COMPONENTS.length + 1 || !ResearchManager.isResearchComplete(player.getCommandSenderName(), SimpleResearchItem.getFullName("STICKYJAR"))) {
if(input.size() != InfusionDisguiseArmor.COMPONENTS.length + 1 || !ResearchManager.isResearchComplete(player.getCommandSenderName(), SimpleResearchItem.getFullName("ARMORDISGUISE"))) {
return false;
}