mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Gradle @broccolai
This commit is contained in:
1 parent
6f28851211
commit
f54a71a25b
34 files changed
+676
-470
No files matched your search
@@ -25,7 +25,7 @@ public class MeCommand extends BaseCommand {
|
||||
public void baseCommand(Player player, String... args) {
|
||||
String message = String.join(" ", args).replace("</pre>", "");
|
||||
String format = PlaceholderAPI.setPlaceholders(player, simpleChat.getConfig().getString("language.me"));
|
||||
Component component = simpleChat.processMessage(format, "br", "\n", "message", message);
|
||||
Component component = simpleChat.getAdventureManager().processMessage(format, "br", "\n", "message", message);
|
||||
|
||||
ChatUser user = simpleChat.getUserService().wrap(player);
|
||||
|
||||
@@ -37,7 +37,7 @@ public class MeCommand extends BaseCommand {
|
||||
continue;
|
||||
}
|
||||
|
||||
simpleChat.getAudiences().player(onlinePlayer).sendMessage(component);
|
||||
simpleChat.getAdventureManager().getAudiences().player(onlinePlayer).sendMessage(component);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user