aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java b/src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java
index baf3c6232f..369778ef12 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_NeedMaintainance.java
@@ -4,6 +4,7 @@ import gregtech.api.enums.GT_Values;
import gregtech.api.gui.GT_GUICover;
import gregtech.api.gui.widgets.GT_GuiIcon;
import gregtech.api.gui.widgets.GT_GuiIconCheckButton;
+import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.ICoverable;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
@@ -18,6 +19,19 @@ import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.Fluid;
public class GT_Cover_NeedMaintainance extends GT_CoverBehavior {
+
+ /**
+ * @deprecated use {@link #GT_Cover_NeedMaintainance(ITexture coverTexture)} instead
+ */
+ @Deprecated
+ public GT_Cover_NeedMaintainance() {
+ this(null);
+ }
+
+ public GT_Cover_NeedMaintainance(ITexture coverTexture) {
+ super(coverTexture);
+ }
+
private boolean isRotor(ItemStack aRotor) {
return !(aRotor == null
|| !(aRotor.getItem() instanceof GT_MetaGenerated_Tool)