diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2018-04-20 07:17:36 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2018-04-20 07:17:36 +1000 |
commit | da7a6fd14582e7e1aab0622b069fb1cdc4c7b28d (patch) | |
tree | e76a891b7990e545a15600d5be4cac99532fcd42 /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations | |
parent | 86fd917e379549236c2c5b412078fbbed1059e85 (diff) | |
download | GT5-Unofficial-da7a6fd14582e7e1aab0622b069fb1cdc4c7b28d.tar.gz GT5-Unofficial-da7a6fd14582e7e1aab0622b069fb1cdc4c7b28d.tar.bz2 GT5-Unofficial-da7a6fd14582e7e1aab0622b069fb1cdc4c7b28d.zip |
+ Added a Silly Sodium Plate.
$ Fixed massive log spam in Dev environments.
$ Cached another reflection call.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java index 80f4b984da..4e6e2bc35b 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java @@ -45,8 +45,9 @@ public class GT_MetaTileEntity_Hatch_AirIntake extends GT_MetaTileEntity_Hatch_I public synchronized String[] getDescription() { try { if (F == null || S == null) { - if (ReflectionUtils.getField(this.getClass(), "mDescriptionArray") != null) { - F = ReflectionUtils.getField(this.getClass(), "mDescriptionArray"); + Field t = ReflectionUtils.getField(this.getClass(), "mDescriptionArray"); + if (t != null) { + F = t; } else { F = ReflectionUtils.getField(this.getClass(), "mDescription"); |