mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix ItemEntity physics
This commit is contained in:
parent
f41733e338
commit
d1babd25dc
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user