From 2d3edc7dcc7d2bb94ff3b7a4b32e49039f490eaf Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 23 Jul 2018 18:03:25 +0200 Subject: [PATCH] Clean up some warnings --- src/main/java/de/epiceric/shopchest/shop/ShopItem.java | 2 +- src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/de/epiceric/shopchest/shop/ShopItem.java b/src/main/java/de/epiceric/shopchest/shop/ShopItem.java index 32e66f2..d1ffb8a 100644 --- a/src/main/java/de/epiceric/shopchest/shop/ShopItem.java +++ b/src/main/java/de/epiceric/shopchest/shop/ShopItem.java @@ -44,7 +44,7 @@ public class ShopItem { Class craftWorldClass = Utils.getCraftClass("CraftWorld"); Class nmsWorldClass = Utils.getNMSClass("World"); - Class[] requiredClasses = new Class[] { + Class[] requiredClasses = new Class[] { nmsWorldClass, craftWorldClass, nmsItemStackClass, craftItemStackClass, entityItemClass, packetPlayOutSpawnEntityClass, packetPlayOutEntityMetadataClass, dataWatcherClass, packetPlayOutEntityDestroyClass, entityClass, packetPlayOutEntityVelocityClass, diff --git a/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java b/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java index de3fea9..b271eab 100644 --- a/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java +++ b/src/main/java/de/epiceric/shopchest/utils/UpdateChecker.java @@ -3,7 +3,6 @@ package de.epiceric.shopchest.utils; import de.epiceric.shopchest.ShopChest; import java.io.BufferedReader; -import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection;