Closer and closer to a release!

Few changes to pathfinder goals, new "proper" clicked inventory
expression, let Skript debug "toString()" if needed.
This commit is contained in:
Richard
2016-02-14 21:58:54 -02:00
parent bcf0a61121
commit 2cf4e790ba
41 changed files with 464 additions and 240 deletions

View File

@@ -41,10 +41,7 @@ public class ReflectionUtils {
f = clazz.getDeclaredField(field);
f.setAccessible(true);
obj = f.get(object);
f.setAccessible(false);
} catch (Exception ex) {
if (f != null)
f.setAccessible(false);
ex.printStackTrace();
}
return obj;
@@ -56,10 +53,7 @@ public class ReflectionUtils {
f = clazz.getDeclaredField(field);
f.setAccessible(true);
f.set(object, toSet);
f.setAccessible(false);
} catch (Exception ex) {
if (f != null)
f.setAccessible(false);
ex.printStackTrace();
}
}