Fixed the mixup of backslash and forward slash

This commit is contained in:
MattBDev
2019-10-09 21:51:37 -04:00
parent f5ded1e50b
commit 7d60053aaf
2 changed files with 4 additions and 4 deletions

View File

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