diff --git a/src/main/java/us/myles/ViaVersion/metadata/MetadataRewriter.java b/src/main/java/us/myles/ViaVersion/metadata/MetadataRewriter.java index 95d902318..3b3090cae 100644 --- a/src/main/java/us/myles/ViaVersion/metadata/MetadataRewriter.java +++ b/src/main/java/us/myles/ViaVersion/metadata/MetadataRewriter.java @@ -118,12 +118,14 @@ public class MetadataRewriter { } } } catch (Exception e) { - if (type != null) { + System.out.println("INCLUDE THIS IN YOUR ERROR LOG!"); + if (type != null) System.out.println("An error occurred with entity meta data for " + type + " OldID: " + entry.oldID); - if (metaIndex != null) { - System.out.println("Old ID: " + metaIndex.getIndex() + " New ID: " + metaIndex.getNewIndex()); - System.out.println("Old Type: " + metaIndex.getOldType() + " New Type: " + metaIndex.getNewType()); - } + else + System.out.println("An error occurred with entity meta data for UNKOWN_ENTITY OldID: " + entry.oldID); + if (metaIndex != null) { + System.out.println("Old ID: " + metaIndex.getIndex() + " New ID: " + metaIndex.getNewIndex()); + System.out.println("Old Type: " + metaIndex.getOldType() + " New Type: " + metaIndex.getNewType()); } e.printStackTrace(); }