aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/util/reflect
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-01 20:08:50 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-01 20:08:50 +1000
commitfe15444a942c8d2b7740246c4fdb83d3f772950e (patch)
tree1ab28d8bc7e75ecc4513599e17de7fd0bf624db6 /src/Java/gtPlusPlus/core/util/reflect
parent35a555fff44b6b3f0d9bb007481edeed3bc09c4e (diff)
downloadGT5-Unofficial-fe15444a942c8d2b7740246c4fdb83d3f772950e.tar.gz
GT5-Unofficial-fe15444a942c8d2b7740246c4fdb83d3f772950e.tar.bz2
GT5-Unofficial-fe15444a942c8d2b7740246c4fdb83d3f772950e.zip
+ Added lang file updates.
% More work on Spawners. % More work on Villagers.
Diffstat (limited to 'src/Java/gtPlusPlus/core/util/reflect')
-rw-r--r--src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java b/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java
index af384565a9..fc8923b21a 100644
--- a/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java
+++ b/src/Java/gtPlusPlus/core/util/reflect/ReflectionUtils.java
@@ -23,15 +23,15 @@ public class ReflectionUtils {
try {
Field k = clazz.getDeclaredField(fieldName);
makeAccessible(k);
- Logger.REFLECTION("Got Field from Class. "+fieldName+" did exist within "+clazz.getCanonicalName()+".");
+ //Logger.REFLECTION("Got Field from Class. "+fieldName+" did exist within "+clazz.getCanonicalName()+".");
return k;
} catch (final NoSuchFieldException e) {
final Class<?> superClass = clazz.getSuperclass();
if (superClass == null) {
- Logger.REFLECTION("Failed to get Field from Class. "+fieldName+" does not existing within "+clazz.getCanonicalName()+".");
+ //Logger.REFLECTION("Failed to get Field from Class. "+fieldName+" does not existing within "+clazz.getCanonicalName()+".");
throw e;
}
- Logger.REFLECTION("Failed to get Field from Class. "+fieldName+" does not existing within "+clazz.getCanonicalName()+". Trying super class.");
+ //Logger.REFLECTION("Failed to get Field from Class. "+fieldName+" does not existing within "+clazz.getCanonicalName()+". Trying super class.");
return getField(superClass, fieldName);
}
}