Use UtilPlayer.message instead of sender.sendMessage to fit standards
This commit is contained in:
parent
e5aaa555b7
commit
36f671d944
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user