From 2abcd92a33a76a43c59b795d835bbe830434e379 Mon Sep 17 00:00:00 2001 From: Alkalus Date: Sun, 6 Aug 2017 14:49:52 +1000 Subject: + Added a Minecraft day tracker to the RTG. % Greatly improved RTG tooltip. $ Fixed RTG output getting stuck on 512v. % Internalised a reflection function call. --- src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/core') diff --git a/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java b/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java index 05b85cfff6..bb1b7fb7ee 100644 --- a/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java +++ b/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java @@ -103,7 +103,7 @@ public class ReflectionUtils { * Allows to change the state of an immutable instance. Huh?!? */ public static void setFieldValue(Class clazz, String fieldName, Object newValue) throws Exception { - Field nameField = clazz.getDeclaredField(fieldName); + Field nameField = getField(clazz, fieldName); setValue(clazz, nameField, newValue); } -- cgit