mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
Fixed default command alias to do an array
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
5ff4a9570f
commit
5cfd050f9f
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ public final class CraftServer implements Server {
|
|||
configuration.getInt("settings.spawn-radius", 16);
|
||||
|
||||
if (configuration.getNode("aliases") == null) {
|
||||
configuration.setProperty("aliases.icanhasbukkit", "version");
|
||||
List<String> icanhasbukkit = new ArrayList<String>();
|
||||
icanhasbukkit.add("version");
|
||||
configuration.setProperty("aliases.icanhasbukkit", icanhasbukkit);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue