mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Use user placeholder in ignore, fixes #32
This commit is contained in:
1 parent
42eff8f263
commit
9d621594d1
1 file changed
+2
-1
@@ -24,7 +24,8 @@ public class IgnoreCommand extends BaseCommand {
|
||||
|
||||
if (user.isIgnoringUser(targetUser)) {
|
||||
user.setIgnoringUser(targetUser, false);
|
||||
user.sendMessage(processMessage(player, carbonChat.getLanguage().getString("not-ignoring-user"), "br", "\n"));
|
||||
user.sendMessage(processMessage(player, carbonChat.getLanguage().getString("not-ignoring-user"),
|
||||
"br", "\n", "player", targetUser.asOfflinePlayer().getName()));
|
||||
} else {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(carbonChat, () -> {
|
||||
Permission permission = carbonChat.getPermission();
|
||||
|
||||
Reference in new issue
Block a user