From 266a08060296fd223482339d795b0f45b058df36 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Thu, 25 Jun 2020 15:47:09 -0300 Subject: [PATCH] Better quality logo, change debug message --- .../viafabric/mixin/client/MixinDebugHud.java | 5 +++-- .../assets/viafabric/textures/logo.png | Bin 1615 -> 4324 bytes 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/creeper123123321/viafabric/mixin/client/MixinDebugHud.java b/src/main/java/com/github/creeper123123321/viafabric/mixin/client/MixinDebugHud.java index cba0057..3ea996a 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/mixin/client/MixinDebugHud.java +++ b/src/main/java/com/github/creeper123123321/viafabric/mixin/client/MixinDebugHud.java @@ -43,7 +43,7 @@ import java.util.List; public class MixinDebugHud { @Inject(at = @At("RETURN"), method = "getLeftText") protected void getLeftText(CallbackInfoReturnable> info) { - info.getReturnValue().add("[ViaFabric] " + Via.getManager().getConnections().size() + " injected (" + info.getReturnValue().add("[ViaFabric] Injected: " + Via.getManager().getConnections().size() + " (" + Via.getManager().getConnectedClients().size() + " frontend)"); ChannelHandler viaDecoder = ((MixinClientConnectionAccessor) MinecraftClient.getInstance().getNetworkHandler() .getConnection()).getChannel().pipeline().get(CommonTransformer.HANDLER_DECODER_NAME); @@ -55,7 +55,8 @@ public class MixinDebugHud { if (!protocol.getUser().isActive()) { inactive = " (inactive)"; } - info.getReturnValue().add("[ViaFabric] Client injected" + inactive + ": server is " + serverVer); + info.getReturnValue().add("[ViaFabric] Client injected: " + + serverVer.getName() + " (" + serverVer.getId() + ") server" + inactive); } } } diff --git a/src/main/resources/assets/viafabric/textures/logo.png b/src/main/resources/assets/viafabric/textures/logo.png index dcabd0428cc595ffccada54cdc41f4c1fe3caf17..e94320ce5e8f3a8982d071386da763026416200a 100644 GIT binary patch literal 4324 zcmbtXc{J32_y5dT#yUb2ktHJgQjD=?m$eXMhU^kq!w6$+h3q@oqA2?kCi@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