Use UtilPlayer.message instead of sender.sendMessage to fit standards

This commit is contained in:
AlexTheCoder 2016-12-22 20:32:14 -05:00 committed by cnr
parent e5aaa555b7
commit 36f671d944

View File

@ -620,7 +620,7 @@ public class CommunityManager extends MiniDbClientPlugin<CommunityMemberData>
{ {
if (_creating.contains(sender.getUniqueId())) if (_creating.contains(sender.getUniqueId()))
{ {
sender.sendMessage(F.main(getName(), "You are already creating a Community!")); UtilPlayer.message(sender, F.main(getName(), "You are already creating a Community!"));
return; return;
} }
_creating.add(sender.getUniqueId()); _creating.add(sender.getUniqueId());