Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Fix meta warning
Dieser Commit ist enthalten in:
Ursprung
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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren