mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Removed deprecated methods from ChatAPI
This commit is contained in:
parent
050f97e088
commit
d196710a87
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user