mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-24 03:25:29 +01:00
parent
206dc30e17
commit
d112e9b1dc
@ -433,7 +433,7 @@ public abstract class EnumWrappers {
|
|||||||
FROM_NATIVE.put(nativeClass, converter);
|
FROM_NATIVE.put(nativeClass, converter);
|
||||||
FROM_WRAPPER.put(wrapperClass, converter);
|
FROM_WRAPPER.put(wrapperClass, converter);
|
||||||
} else if (ProtocolLogger.isDebugEnabled()) {
|
} else if (ProtocolLogger.isDebugEnabled()) {
|
||||||
new ClassNotFoundException(wrapperClass.getSimpleName()).printStackTrace();
|
// new ClassNotFoundException(wrapperClass.getSimpleName()).printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -447,9 +447,9 @@ public abstract class EnumWrappers {
|
|||||||
try {
|
try {
|
||||||
return FuzzyReflection.fromClass(clazz, true).getFieldListByType(Enum.class).get(index).getType();
|
return FuzzyReflection.fromClass(clazz, true).getFieldListByType(Enum.class).get(index).getType();
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
if (ProtocolLogger.isDebugEnabled()) {
|
/* if (ProtocolLogger.isDebugEnabled()) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
} */
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user