diff --git a/paper-api/src/main/java/org/bukkit/command/PluginCommand.java b/paper-api/src/main/java/org/bukkit/command/PluginCommand.java index 97c6ad6644..bacf41cd2a 100644 --- a/paper-api/src/main/java/org/bukkit/command/PluginCommand.java +++ b/paper-api/src/main/java/org/bukkit/command/PluginCommand.java @@ -38,7 +38,9 @@ public final class PluginCommand extends Command { } if (!success && usageMessage.length() > 0) { - sender.sendMessage(usageMessage.replace("", commandLabel)); + for (String line: usageMessage.replace("", commandLabel).split("\n")) { + sender.sendMessage( line ); + } } return success;