Archiviert
1
0

Hotfix missing /bug command feedback

Dieser Commit ist enthalten in:
Lixfel 2020-02-11 18:08:54 +01:00
Ursprung 37338253a3
Commit f03fc721d3

Datei anzeigen

@ -1,5 +1,6 @@
package de.steamwar.bungeecore.commands; package de.steamwar.bungeecore.commands;
import de.steamwar.bungeecore.BungeeCore;
import de.steamwar.bungeecore.sql.SWException; import de.steamwar.bungeecore.sql.SWException;
import de.steamwar.bungeecore.sql.SteamwarUser; import de.steamwar.bungeecore.sql.SteamwarUser;
import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.CommandSender;
@ -20,5 +21,6 @@ public class BugCommand extends BasicCommand {
String message = String.join(" ", args); String message = String.join(" ", args);
SteamwarUser user = SteamwarUser.get(player.getUniqueId()); SteamwarUser user = SteamwarUser.get(player.getUniqueId());
SWException.log(server, message, player.getName() + " " + user.getId()); SWException.log(server, message, player.getName() + " " + user.getId());
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§7Dein Bugreport wurde gemeldet.");
} }
} }