aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2020-01-18 10:18:44 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2020-01-18 10:18:44 +0000
commit85f5914d4b3a50fe8520c7793e715797da7d2ae9 (patch)
treeb47e9138298bcdef5dc73d645df8c3c0e784a029 /src/Java/gtPlusPlus/xmod/gregtech/api
parentf354f6c08a364f8d987f4f820b35aa16fe4f3be6 (diff)
downloadGT5-Unofficial-85f5914d4b3a50fe8520c7793e715797da7d2ae9.tar.gz
GT5-Unofficial-85f5914d4b3a50fe8520c7793e715797da7d2ae9.tar.bz2
GT5-Unofficial-85f5914d4b3a50fe8520c7793e715797da7d2ae9.zip
+ Started work on Large Naq. Reactor.
$ Fixed Locale handling caching the incorrect values. $ Fixed Multiblock ToolTips being cached under bad circumstances.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
index e1849985d0..a115b223d8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java
@@ -415,7 +415,8 @@ public abstract class GregtechMeta_MultiBlockBase extends GT_MetaTileEntity_Mult
aToolTip = ArrayUtils.addAll(aToolTip, x);
aToolTip = ArrayUtils.addAll(aToolTip, z);
- if (aCachedToolTip == null || aCachedToolTip.length <= 0) {
+ //Valid Cached Tooltip during Run-Time
+ if (aCachedToolTip == null || aCachedToolTip.length <= 0 || aCachedToolTip.length != aToolTip.length) {
aCachedToolTip = aToolTip;
}
return aCachedToolTip;
@@ -2581,7 +2582,7 @@ public abstract class GregtechMeta_MultiBlockBase extends GT_MetaTileEntity_Mult
else if (aFoundBlock != aExpectedBlock) {
if (GTplusplus.CURRENT_LOAD_PHASE == INIT_PHASE.STARTED) {
log("A1 - Found: "+aFoundBlock.getLocalizedName()+":"+aFoundMeta+", Expected: "+aExpectedBlock.getLocalizedName()+":"+aExpectedMeta);
- log("Loc: "+(new BlockPos(aBaseMetaTileEntity).getLocationString()));
+ //log("Loc: "+(new BlockPos(aBaseMetaTileEntity).getLocationString()));
}
return false;
}