From d112e9b1dc64bb5dadc9f2d356e5c6bc392aa6ca Mon Sep 17 00:00:00 2001 From: Dan Mulloy Date: Fri, 3 Aug 2018 21:58:54 -0400 Subject: [PATCH] Remove extraneous debug #494 --- .../java/com/comphenix/protocol/wrappers/EnumWrappers.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/API/src/main/java/com/comphenix/protocol/wrappers/EnumWrappers.java b/modules/API/src/main/java/com/comphenix/protocol/wrappers/EnumWrappers.java index 7b7114c6..853545b2 100644 --- a/modules/API/src/main/java/com/comphenix/protocol/wrappers/EnumWrappers.java +++ b/modules/API/src/main/java/com/comphenix/protocol/wrappers/EnumWrappers.java @@ -433,7 +433,7 @@ public abstract class EnumWrappers { FROM_NATIVE.put(nativeClass, converter); FROM_WRAPPER.put(wrapperClass, converter); } else if (ProtocolLogger.isDebugEnabled()) { - new ClassNotFoundException(wrapperClass.getSimpleName()).printStackTrace(); + // new ClassNotFoundException(wrapperClass.getSimpleName()).printStackTrace(); } } @@ -447,9 +447,9 @@ public abstract class EnumWrappers { try { return FuzzyReflection.fromClass(clazz, true).getFieldListByType(Enum.class).get(index).getType(); } catch (Throwable ex) { - if (ProtocolLogger.isDebugEnabled()) { + /* if (ProtocolLogger.isDebugEnabled()) { ex.printStackTrace(); - } + } */ return null; }