Clean up some warnings

This commit is contained in:
Eric 2018-07-23 18:03:25 +02:00
parent 5a4741ddf3
commit 2d3edc7dcc
2 changed files with 1 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class ShopItem {
Class<?> craftWorldClass = Utils.getCraftClass("CraftWorld"); Class<?> craftWorldClass = Utils.getCraftClass("CraftWorld");
Class<?> nmsWorldClass = Utils.getNMSClass("World"); Class<?> nmsWorldClass = Utils.getNMSClass("World");
Class<?>[] requiredClasses = new Class[] { Class<?>[] requiredClasses = new Class<?>[] {
nmsWorldClass, craftWorldClass, nmsItemStackClass, craftItemStackClass, entityItemClass, nmsWorldClass, craftWorldClass, nmsItemStackClass, craftItemStackClass, entityItemClass,
packetPlayOutSpawnEntityClass, packetPlayOutEntityMetadataClass, dataWatcherClass, packetPlayOutSpawnEntityClass, packetPlayOutEntityMetadataClass, dataWatcherClass,
packetPlayOutEntityDestroyClass, entityClass, packetPlayOutEntityVelocityClass, packetPlayOutEntityDestroyClass, entityClass, packetPlayOutEntityVelocityClass,

View File

@ -3,7 +3,6 @@ package de.epiceric.shopchest.utils;
import de.epiceric.shopchest.ShopChest; import de.epiceric.shopchest.ShopChest;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.net.URL; import java.net.URL;
import java.net.URLConnection; import java.net.URLConnection;