--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java 2016/10/20 07:37:19 3132 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java 2016/11/18 13:14:07 3133 @@ -183,7 +183,7 @@ return true; } - @SuppressWarnings("deprecation")//user by name is our only option here + //@SuppressWarnings("deprecation")//user by name is our only option here OfflinePlayer p2 = server.getOfflinePlayer(args[1]); if ( p2.hasPlayedBefore() == false && p2.isOnline() == false) { @@ -211,7 +211,7 @@ return true; } - @SuppressWarnings("deprecation")//user by name is our only option here + //@SuppressWarnings("deprecation")//user by name is our only option here OfflinePlayer p2 = server.getOfflinePlayer(args[1]); if ( p2.hasPlayedBefore() == false && p2.isOnline() == false) { player.sendMessage("Unknown user: " + args[1] );