Ignore conversion suppressing when debug mode is enabled

This commit is contained in:
FlorianMichael 2024-04-16 22:18:23 +02:00
parent 544fe9bb7d
commit a3fa487012
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class EntityPackets20w14infinite {
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--;