diff --git a/lib/bukkit.jar b/lib/bukkit.jar index 1e452f4a..28e14370 100644 Binary files a/lib/bukkit.jar and b/lib/bukkit.jar differ diff --git a/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java b/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java index 3c144d50..6b4c0784 100644 --- a/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java +++ b/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java @@ -21,8 +21,7 @@ public class MPluginSecretServerListener implements Listener // reference command will be used to prevent "unknown command" console messages try { - @SuppressWarnings("unchecked") - Map refCmd = (Map) p.getDescription().getCommands(); + Map> refCmd = p.getDescription().getCommands(); if (refCmd != null && !refCmd.isEmpty()) refCommand = (String)(refCmd.keySet().toArray()[0]); }