mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 02:47:11 +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) {
|
for (Command command : registered) {
|
||||||
commandMap.register(plugin.getDescription().getName(),
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -218,6 +218,7 @@ public class YAMLProcessor extends YAMLNode {
|
|||||||
return new YAMLNode(new HashMap<String, Object>(), writeDefaults);
|
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 {
|
private static class FancyDumperOptions extends DumperOptions {
|
||||||
@Override
|
@Override
|
||||||
public DumperOptions.ScalarStyle calculateScalarStyle(ScalarAnalysis analysis,
|
public DumperOptions.ScalarStyle calculateScalarStyle(ScalarAnalysis analysis,
|
||||||
|
Loading…
Reference in New Issue
Block a user