From b3b1c10bfc2a0282ddfb68cca16fc18fc871fddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=28=EF=BC=9B=C2=B4=E3=83=BB=CF=89=E3=83=BB=29?= Date: Tue, 19 May 2015 17:19:33 +0200 Subject: [PATCH] Fix JD's broken code Otherwise most materials will simply not get registered. --- main/java/gregtech/common/GT_Proxy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/java/gregtech/common/GT_Proxy.java b/main/java/gregtech/common/GT_Proxy.java index 881797c0..feddd5be 100644 --- a/main/java/gregtech/common/GT_Proxy.java +++ b/main/java/gregtech/common/GT_Proxy.java @@ -1329,7 +1329,8 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler { default: break; } - if ((!aPrefix.mIsUnificatable) || (aMaterial.mUnificatable)) {return; + if (aPrefix.mIsUnificatable && !aMaterial.mUnificatable) { + return; } } else { for (Dyes tDye : Dyes.VALUES) {