From 4b0881263b2612a7229347c5df439a78687705f3 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 21 May 2019 23:10:11 +0200 Subject: [PATCH] add missing remaps --- .../protocol1_13_2to1_14/data/EntityTypeMapping.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/data/EntityTypeMapping.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/data/EntityTypeMapping.java index e7a57153..b6a25f92 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/data/EntityTypeMapping.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/data/EntityTypeMapping.java @@ -34,6 +34,11 @@ public class EntityTypeMapping { oldEntityToOldObject.put(type1_13.getId(), object1_13.getId()); } } + for(Entity1_13Types.EntityType type : Entity1_13Types.EntityType.values()){ + if(!entityTypes.containsValue(type.getId())){ + entityTypes.put(type.getId(), type.getId()); + } + } entityTypes.put(50, 48); // ocelot }