Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit 29f6e26

Browse files
committed
🐛 Real fix
1 parent 924c477 commit 29f6e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/fr/bakaaless/api/command/CommandManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ else if (toExec.getSecond().length() < aliases.length())
149149
}
150150
}
151151

152-
final String finalArg = argument.replace(toExec.getSecond().replace(" ", "\n"), "")
153-
.replaceFirst("[\n]", "");
152+
final String finalArg = argument.replace(toExec.getSecond().replace(" ", "\n"), "");
153+
154154

155155
final List<String> arguments = (finalArg.equals("") ?
156156
new ArrayList<>() :

0 commit comments

Comments
 (0)