Fix gravity acceleration

This commit is contained in:
Németh Noel 2021-06-27 23:29:28 +02:00
parent 1afd4b4328
commit 1ea526aa89

View File

@ -543,7 +543,7 @@ public class Entity implements Viewable, Tickable, EventHandler<EntityEvent>, Da
final Vector deltaPos = new Vector(
getVelocity().getX() / tps,
(getVelocity().getY() - gravityY) / tps,
getVelocity().getY() / tps - gravityY,
getVelocity().getZ() / tps
);