From 849c7b4fcf705eade26376586ea1f30e57128ba5 Mon Sep 17 00:00:00 2001 From: Marco Neuhaus Date: Wed, 8 Aug 2018 23:35:14 +0200 Subject: [PATCH] fix wrong import --- .../protocols/protocol18w32ato1_13/MetadataRewriter.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol18w32ato1_13/MetadataRewriter.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol18w32ato1_13/MetadataRewriter.java index 7e666b529..ddddc130e 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol18w32ato1_13/MetadataRewriter.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol18w32ato1_13/MetadataRewriter.java @@ -3,10 +3,11 @@ package us.myles.ViaVersion.protocols.protocol18w32ato1_13; import us.myles.ViaVersion.api.Via; import us.myles.ViaVersion.api.data.UserConnection; import us.myles.ViaVersion.api.entities.Entity1_13Types; +import us.myles.ViaVersion.api.entities.Entity1_13Types.EntityType; import us.myles.ViaVersion.api.minecraft.item.Item; import us.myles.ViaVersion.api.minecraft.metadata.Metadata; import us.myles.ViaVersion.api.minecraft.metadata.types.MetaType1_13; -import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.packets.InventoryPackets; +import us.myles.ViaVersion.protocols.protocol18w32ato1_13.packets.InventoryPackets; import java.util.ArrayList; import java.util.List; @@ -30,6 +31,9 @@ public class MetadataRewriter { int data = (int) metadata.getValue(); metadata.setValue(Protocol18w32aTO1_13.getMapBlockId(data)); } + if(type.is(EntityType.ITEM)){ + + } } catch (Exception e) { metadatas.remove(metadata); if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) {