aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/misc/spaceprojects/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/misc/spaceprojects/base')
-rw-r--r--src/main/java/gregtech/common/misc/spaceprojects/base/SP_Upgrade.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/misc/spaceprojects/base/SP_Upgrade.java b/src/main/java/gregtech/common/misc/spaceprojects/base/SP_Upgrade.java
index 9fc3bd955b..835a57f277 100644
--- a/src/main/java/gregtech/common/misc/spaceprojects/base/SP_Upgrade.java
+++ b/src/main/java/gregtech/common/misc/spaceprojects/base/SP_Upgrade.java
@@ -334,7 +334,7 @@ public class SP_Upgrade implements ISP_Upgrade {
@Override
public SP_Upgrade copy() {
- SP_Upgrade copy = new SP_Upgrade().setUpgradeName(name)
+ return new SP_Upgrade().setUpgradeName(name)
.setUpgradeUnlocalizedName(unlocalizedName)
.setUpgradeBuildTime(buildTime)
.setUpgradeFluidsCost(fluidsCost)
@@ -342,7 +342,6 @@ public class SP_Upgrade implements ISP_Upgrade {
.setUpgradeRequirements(requirements)
.setUpgradeTotalStages(totalStages)
.setUpgradeVoltage(voltage);
- return copy;
}
@Override