Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 01:50:06 +01:00
Fixed the mixup of backslash and forward slash
Dieser Commit ist enthalten in:
Ursprung
f5ded1e50b
Commit
7d60053aaf
@ -252,17 +252,17 @@ public class FaweBukkit implements IFawe, Listener {
|
||||
try {
|
||||
this.vault = new VaultUtil();
|
||||
} catch (final Throwable e) {
|
||||
this.debug("&dVault is used for persistent `/wea` toggles.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDebugInfo() {
|
||||
StringBuilder msg = new StringBuilder();
|
||||
msg.append("server.version: " + Bukkit.getVersion() + "\n");
|
||||
msg.append("server.version: ").append(Bukkit.getVersion()).append("\n");
|
||||
msg.append("Plugins: \n");
|
||||
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
|
||||
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
|
||||
msg.append(" - ").append(p.getName()).append(": ")
|
||||
.append(p.getDescription().getVersion()).append("\n");
|
||||
}
|
||||
return msg.toString();
|
||||
}
|
||||
|
@ -544,7 +544,7 @@ public final class PlatformCommandManager {
|
||||
TaskManager.IMP.taskNow(() -> {
|
||||
int space0 = args.indexOf(' ');
|
||||
String arg0 = space0 == -1 ? args : args.substring(0, space0);
|
||||
if (arg0.startsWith("\\")) {
|
||||
if (arg0.startsWith("/")) {
|
||||
arg0 = arg0.substring(1);
|
||||
}
|
||||
Optional<Command> optional = commandManager.getCommand(arg0);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren