mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-26 12:35:11 +01:00
Improved code
This commit is contained in:
parent
0903044a8a
commit
4455f90949
@ -19,7 +19,6 @@ package net.raphimc.viaproxy.protocolhack.viaproxy;
|
||||
|
||||
import com.viaversion.viaversion.api.Via;
|
||||
import com.viaversion.viaversion.api.command.ViaCommandSender;
|
||||
import net.raphimc.viaproxy.cli.ConsoleFormatter;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@ -34,7 +33,7 @@ public class ConsoleCommandSender implements ViaCommandSender {
|
||||
|
||||
@Override
|
||||
public void sendMessage(String msg) {
|
||||
Via.getPlatform().getLogger().info(ConsoleFormatter.convert(msg));
|
||||
Via.getPlatform().sendMessage(null, msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user