mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-18 12:41:26 +01:00
Fix meta warning
This commit is contained in:
parent
15cbc96697
commit
b940ecab9c
@ -471,7 +471,7 @@ public abstract class EntityRewriter<T extends Protocol> extends RewriterBase<T>
|
|||||||
if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) {
|
if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) {
|
||||||
Logger logger = Via.getPlatform().getLogger();
|
Logger logger = Via.getPlatform().getLogger();
|
||||||
logger.severe("An error occurred in metadata handler " + this.getClass().getSimpleName()
|
logger.severe("An error occurred in metadata handler " + this.getClass().getSimpleName()
|
||||||
+ " for " + (type != null ? "untracked" : type.name()) + " entity type: " + metadata);
|
+ " for " + (type != null ? type.name() : "untracked") + " entity type: " + metadata);
|
||||||
logger.severe(metadataList.stream().sorted(Comparator.comparingInt(Metadata::id))
|
logger.severe(metadataList.stream().sorted(Comparator.comparingInt(Metadata::id))
|
||||||
.map(Metadata::toString).collect(Collectors.joining("\n", "Full metadata: ", "")));
|
.map(Metadata::toString).collect(Collectors.joining("\n", "Full metadata: ", "")));
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Loading…
Reference in New Issue
Block a user