Adding support for both display names and sender names in the chat API.

This commit is contained in:
Glitchfinder
2013-02-01 18:59:22 -05:00
parent b633f36131
commit 60033d47ec
11 changed files with 100 additions and 93 deletions

View File

@ -8,8 +8,8 @@ import org.bukkit.plugin.Plugin;
public class McMMOPartyChatEvent extends McMMOChatEvent {
private String party;
public McMMOPartyChatEvent(Plugin plugin, String sender, String party, String message) {
super(plugin, sender, message);
public McMMOPartyChatEvent(Plugin plugin, String sender, String displayName, String party, String message) {
super(plugin, sender, displayName, message);
this.party = party;
}