From a3fa487012b3748c4d644c4715339cb3c042f558 Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:18:23 +0200 Subject: [PATCH] Ignore conversion suppressing when debug mode is enabled --- .../packets/EntityPackets20w14infinite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java index 5f11caf..3a55eb0 100644 --- a/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java +++ b/src/main/java/net/raphimc/viaaprilfools/protocols/protocol1_16to20w14infinite/packets/EntityPackets20w14infinite.java @@ -141,7 +141,7 @@ public void register() { if (attributeIdentifier == null) { attributeIdentifier = "minecraft:" + key; if (!Key.isValid(attributeIdentifier)) { - if (!Via.getConfig().isSuppressConversionWarnings()) { + if (!Via.getConfig().isSuppressConversionWarnings() || Via.getManager().isDebug()) { ViaAprilFools.getPlatform().getLogger().warning("Invalid attribute: " + key); } actualSize--;