This commit is contained in:
modmuss50 2017-04-08 14:52:28 +01:00
parent 949aa2057d
commit 833efcd574
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -32,6 +32,8 @@ import techreborn.items.ItemParts;
import techreborn.items.ItemUpgrades; import techreborn.items.ItemUpgrades;
import techreborn.parts.powerCables.EnumStandaloneCableType; import techreborn.parts.powerCables.EnumStandaloneCableType;
import javax.annotation.Nonnull;
/** /**
* Created by Mark on 18/12/2016. * Created by Mark on 18/12/2016.
*/ */
@ -103,6 +105,9 @@ public enum IC2Duplicates {
} }
public boolean hasIC2Stack() { public boolean hasIC2Stack() {
if(ic2Stack == null){
return false;
}
return !ic2Stack.isEmpty(); return !ic2Stack.isEmpty();
} }