aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorkekzdealer <kekzdealer@gmail.com>2020-05-10 00:59:06 +0200
committerkekzdealer <kekzdealer@gmail.com>2020-05-10 00:59:06 +0200
commitbefdd47455e65233e1d5f02037d50156a619eb04 (patch)
treedd947e8a457103dfaf5f76682cfc366e01f8f3ba /src/main
parent1457cc4e98cf57d2cbe06ae2520e7ee52e50b5d0 (diff)
downloadGT5-Unofficial-befdd47455e65233e1d5f02037d50156a619eb04.tar.gz
GT5-Unofficial-befdd47455e65233e1d5f02037d50156a619eb04.tar.bz2
GT5-Unofficial-befdd47455e65233e1d5f02037d50156a619eb04.zip
BW and TT don't seem to like each others
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
index a98622d0d2..b499e4a941 100644
--- a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
+++ b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
@@ -14,7 +14,6 @@ import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Dynam
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Energy;
import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_MultiBlockBase;
import gregtech.api.objects.GT_RenderedTexture;
-import kekztech.KekzCore;
import net.minecraft.block.Block;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
@@ -34,7 +33,7 @@ import java.util.Arrays;
public class GTMTE_LapotronicSuperCapacitor extends GT_MetaTileEntity_MultiBlockBase {
- private final static String glassNameIC2Reinforced = "BW_GlasBlocks";
+ private final static String glassNameBorosilicate = "BW_GlasBlocks";
private static final Block LSC_PART = Blocks.lscLapotronicEnergyUnit;
private static final int CASING_META = 0;
private static final int CASING_TEXTURE_ID = 62;
@@ -223,7 +222,7 @@ public class GTMTE_LapotronicSuperCapacitor extends GT_MetaTileEntity_MultiBlock
capacity = capacity.add(BigInteger.valueOf(Long.MAX_VALUE));
}
capacitors[meta - 1]++;
- } else if(thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameIC2Reinforced)){
+ } else if(thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameBorosilicate)){
firstGlassHeight = Y;
break;
} else {
@@ -242,7 +241,7 @@ public class GTMTE_LapotronicSuperCapacitor extends GT_MetaTileEntity_MultiBlock
// Check only outer ring, except when on roof height
if(Y < firstGlassHeight){
if((X == -2 || X == 2) && (Z == -1 || Z == 4)){
- if(!thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameIC2Reinforced)){
+ if(!thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameBorosilicate)){
formationChecklist = false;
} else {
final int meta = thisController.getMetaIDOffset(offset.x(), offset.y(), offset.z());
@@ -254,7 +253,7 @@ public class GTMTE_LapotronicSuperCapacitor extends GT_MetaTileEntity_MultiBlock
}
}
} else {
- if (!thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameIC2Reinforced)) {
+ if (!thisController.getBlockOffset(offset.x(), offset.y(), offset.z()).getUnlocalizedName().equals(glassNameBorosilicate)) {
formationChecklist = false;
}
}