From da7a6fd14582e7e1aab0622b069fb1cdc4c7b28d Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Fri, 20 Apr 2018 07:17:36 +1000 Subject: + Added a Silly Sodium Plate. $ Fixed massive log spam in Dev environments. $ Cached another reflection call. --- .../implementations/GT_MetaTileEntity_Hatch_AirIntake.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations') 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"); -- cgit