Skip to content

Commit

Permalink
Ignore conversion suppressing when debug mode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Apr 16, 2024
1 parent 544fe9b commit a3fa487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
Expand Down

0 comments on commit a3fa487

Please sign in to comment.