Fixes #1023
This commit is contained in:
parent
949aa2057d
commit
833efcd574
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue