From 8c297990a959accae61e977deb96946e3ada72f2 Mon Sep 17 00:00:00 2001 From: AJ Ferguson Date: Fri, 29 Nov 2019 17:18:03 -0900 Subject: [PATCH] Fix dropped items --- .../entity/spawn/JavaSpawnObjectTranslator.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/spawn/JavaSpawnObjectTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/spawn/JavaSpawnObjectTranslator.java index 7f7b470c7..57571bed4 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/spawn/JavaSpawnObjectTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/spawn/JavaSpawnObjectTranslator.java @@ -30,6 +30,7 @@ import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.Serve import com.nukkitx.math.vector.Vector3f; import org.geysermc.connector.console.GeyserLogger; import org.geysermc.connector.entity.Entity; +import org.geysermc.connector.entity.ItemEntity; import org.geysermc.connector.entity.type.EntityType; import org.geysermc.connector.network.session.GeyserSession; import org.geysermc.connector.network.translators.PacketTranslator; @@ -52,10 +53,16 @@ public class JavaSpawnObjectTranslator extends PacketTranslator