Fix drop util method.

This commit is contained in:
Florian Nücke
2021-07-18 02:51:55 +02:00
parent 0189a0f645
commit ddad20971b

View File

@@ -91,7 +91,7 @@ public final class ItemStackUtils {
final ItemEntity entity = new ItemEntity(world, px, py, pz, stack);
entity.moveTo(
entity.setDeltaMovement(
0.0125 * (rng.nextDouble() - 0.5) + ox * 0.03,
0.0125 * (rng.nextDouble() - 0.5) + oy * 0.08 + (ox + oz) * 0.03,
0.0125 * (rng.nextDouble() - 0.5) + oz * 0.03