3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-10 05:20:04 +01:00

A few documentation improvements.

Dieser Commit ist enthalten in:
zml2008 2012-01-10 22:30:07 -08:00
Ursprung 17cdbcac12
Commit a6bba00f77
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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;
} }

Datei anzeigen

@ -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,