From 6accc15a4fc2f623aa110c583d3cf00320e361bb Mon Sep 17 00:00:00 2001 From: Zrips Date: Fri, 10 Aug 2018 17:07:33 +0300 Subject: [PATCH] We dont need error here --- src/main/java/com/gamingmesh/jobs/CMILib/ItemManager.java | 2 +- src/main/java/com/gamingmesh/jobs/CMILib/ItemReflection.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/CMILib/ItemManager.java b/src/main/java/com/gamingmesh/jobs/CMILib/ItemManager.java index 681682e6..9073accc 100644 --- a/src/main/java/com/gamingmesh/jobs/CMILib/ItemManager.java +++ b/src/main/java/com/gamingmesh/jobs/CMILib/ItemManager.java @@ -596,7 +596,7 @@ public class ItemManager { } } - public enum CMIMaterial { + public static enum CMIMaterial { NONE(-1, -1, -1, "None"), ACACIA_BOAT(447, 0, 27326, "Acacia Boat", "BOAT_ACACIA"), ACACIA_BUTTON(-1, -1, 13993, "Acacia Button", ""), diff --git a/src/main/java/com/gamingmesh/jobs/CMILib/ItemReflection.java b/src/main/java/com/gamingmesh/jobs/CMILib/ItemReflection.java index 8247ff97..8ea1b23b 100644 --- a/src/main/java/com/gamingmesh/jobs/CMILib/ItemReflection.java +++ b/src/main/java/com/gamingmesh/jobs/CMILib/ItemReflection.java @@ -79,7 +79,6 @@ public class ItemReflection { Object res = meth.invoke(reg, res2); return res.toString(); } catch (Exception e) { - e.printStackTrace(); return null; } }