Fix Reflection
This commit is contained in:
parent
dc9bf53bce
commit
5c4941f536
@ -99,6 +99,7 @@ public class SimpleReflection {
|
||||
try {
|
||||
Method declaredMethod = nmsClass.getDeclaredMethod(methodName);
|
||||
methodCached.computeIfAbsent(nmsClass.getName(), name -> Maps.newHashMap()).put(methodName, declaredMethod);
|
||||
} catch (NoSuchMethodException | NoSuchMethodError ignored) {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user