From d1babd25dcd20c716950a08225cdb5685ba78492 Mon Sep 17 00:00:00 2001 From: TheMode Date: Wed, 16 Jun 2021 15:50:54 +0200 Subject: [PATCH] Fix ItemEntity physics --- src/main/java/net/minestom/server/entity/ItemEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minestom/server/entity/ItemEntity.java b/src/main/java/net/minestom/server/entity/ItemEntity.java index 275348262..8fdb5e69b 100644 --- a/src/main/java/net/minestom/server/entity/ItemEntity.java +++ b/src/main/java/net/minestom/server/entity/ItemEntity.java @@ -43,6 +43,7 @@ public class ItemEntity extends Entity { public ItemEntity(@NotNull ItemStack itemStack, @NotNull Position spawnPosition) { super(EntityType.ITEM, spawnPosition); setItemStack(itemStack); + setGravity(0.02f, 0.04f, 1.96f); setBoundingBox(0.25f, 0.25f, 0.25f); }