mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Move language stuff to its own file
This commit is contained in:
1 parent
69375bbd33
commit
7124585602
17 files changed
+93
-73
No files matched your search
@@ -24,7 +24,7 @@ public class MeCommand extends BaseCommand {
|
||||
}
|
||||
|
||||
String message = String.join(" ", args).replace("</pre>", "");
|
||||
String format = PlaceholderAPI.setPlaceholders(player, carbonChat.getConfig().getString("language.me"));
|
||||
String format = PlaceholderAPI.setPlaceholders(player, carbonChat.getLanguage().getString("me"));
|
||||
|
||||
if (!player.hasPermission("carbonchat.me.formatting")) {
|
||||
format = format.replace("<message>", "<pre><message></pre>");
|
||||
|
||||
Reference in new issue
Block a user