geforkt von Mirrors/FastAsyncWorldEdit
A few documentation improvements.
Dieser Commit ist enthalten in:
Ursprung
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,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren