SteamWar/BungeeCore
Archiviert
13
2

Fix MsgCommand and RCommand #176

Manuell gemergt
Lixfel hat 4 Commits von moreML nach master 2021-02-05 11:57:03 +01:00 zusammengeführt
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
Nur Änderungen aus Commit 61ce5cd860 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -72,8 +72,8 @@ public class MsgCommand extends BasicCommand {
for (int i = 1; i < args.length; i++){
msgBuilder.append(args[i]).append(" ");
}
Message.send("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString());
Message.send("MSG_FORMAT", target, player.getName(), target.getName(), msgBuilder.toString());
Message.sendPrefixless("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString());
Message.sendPrefixless("MSG_FORMAT", target, player.getName(), target.getName(), msgBuilder.toString());
BungeeCore.log(Message.parse("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString()));
lastChats.put(player, target);

Datei anzeigen

@ -69,8 +69,8 @@ public class RCommand extends BasicCommand {
for (String arg : args){
msgBuilder.append(arg).append(" ");
}
Message.send("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString());
Message.send("MSG_FORMAT", target, player.getName(), target.getName(), msgBuilder.toString());
Message.sendPrefixless("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString());
Message.sendPrefixless("MSG_FORMAT", target, player.getName(), target.getName(), msgBuilder.toString());
BungeeCore.log(Message.parse("MSG_FORMAT", player, player.getName(), target.getName(), msgBuilder.toString()));
lastChats.put(target, player);