mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Improve config and PAPI support
This commit is contained in:
1 parent
cfedf0e452
commit
a020f2f6a7
7 files changed
+25
-15
No files matched your search
+2
-2
@@ -35,7 +35,7 @@ public class SpyChannelCommand extends BaseCommand {
|
||||
message = simpleChat.getConfig().getString("language.spy-toggled-on");
|
||||
}
|
||||
|
||||
user.sendMessage(simpleChat.processMessage(message, "br", "\n",
|
||||
user.sendMessage(simpleChat.processMessageWithPapi(player, message, "br", "\n",
|
||||
"color", "<color:" + channel.getColor().toString() + ">", "channel", channel.getName()));
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class SpyChannelCommand extends BaseCommand {
|
||||
message = simpleChat.getConfig().getString("language.spy-whispers-on");
|
||||
}
|
||||
|
||||
user.sendMessage(simpleChat.processMessage(message, "br", "\n"));
|
||||
user.sendMessage(simpleChat.processMessageWithPapi(player, message, "br", "\n"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user