mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
A few documentation improvements.
This commit is contained in:
parent
17cdbcac12
commit
a6bba00f77
@ -57,7 +57,7 @@ public class CommandRegistration {
|
||||
}
|
||||
for (Command command : registered) {
|
||||
commandMap.register(plugin.getDescription().getName(),
|
||||
new DynamicPluginCommand(command.aliases(), command.desc(), command.usage(), executor));
|
||||
new DynamicPluginCommand(command.aliases(), command.desc(), "/" + command.aliases()[0] + " " + command.usage(), executor));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -218,6 +218,7 @@ public class YAMLProcessor extends YAMLNode {
|
||||
return new YAMLNode(new HashMap<String, Object>(), writeDefaults);
|
||||
}
|
||||
|
||||
// This will be included in snakeyaml 1.10, but until then we have to do it manually.
|
||||
private static class FancyDumperOptions extends DumperOptions {
|
||||
@Override
|
||||
public DumperOptions.ScalarStyle calculateScalarStyle(ScalarAnalysis analysis,
|
||||
|
Loading…
Reference in New Issue
Block a user