Răsfoiți Sursa

Removed deprecated methods from ChatAPI

GJ 12 ani în urmă
părinte
comite
d196710a87
1 a modificat fișierele cu 0 adăugiri și 31 ștergeri
  1. 0 31
      src/main/java/com/gmail/nossr50/api/ChatAPI.java

+ 0 - 31
src/main/java/com/gmail/nossr50/api/ChatAPI.java

@@ -39,22 +39,6 @@ public final class ChatAPI {
         ChatManager.handlePartyChat(plugin, PartyManager.getParty(party), sender, sender, message);
         ChatManager.handlePartyChat(plugin, PartyManager.getParty(party), sender, sender, message);
     }
     }
 
 
-    /**
-     * Send a message to all members of a party
-     * </br>
-     * This function is designed for API usage.
-     *
-     * @deprecated Replaced by sendPartyChat(Plugin, String, String, String)
-     *
-     * @param sender The name of the sender to display in the chat
-     * @param party The name of the party to send to
-     * @param message The message to send
-     */
-    @Deprecated
-    public static void sendPartyChat(String sender, String party, String message) {
-        sendPartyChat(null, party, sender, sender, message);
-    }
-
     /**
     /**
      * Send a message to administrators
      * Send a message to administrators
      * </br>
      * </br>
@@ -82,21 +66,6 @@ public final class ChatAPI {
         ChatManager.handleAdminChat(plugin, sender, sender, message);
         ChatManager.handleAdminChat(plugin, sender, sender, message);
     }
     }
 
 
-    /**
-     * Send a message to administrators
-     * </br>
-     * This function is designed for API usage.
-     *
-     * @deprecated Replaced by sendAdminChat(Plugin, String, String)
-     *
-     * @param sender The name of the sender to display in the chat
-     * @param message The message to send
-     */
-    @Deprecated
-    public static void sendAdminChat(String sender, String message) {
-        sendAdminChat(null, sender, sender, message);
-    }
-
     /**
     /**
      * Check if a player is currently talking in party chat.
      * Check if a player is currently talking in party chat.
      *
      *