diff --git a/src/main/java/de/bixilon/minosoft/game/datatypes/entities/OtherPlayer.java b/src/main/java/de/bixilon/minosoft/game/datatypes/entities/OtherPlayer.java index 43c163017..efe5facc8 100644 --- a/src/main/java/de/bixilon/minosoft/game/datatypes/entities/OtherPlayer.java +++ b/src/main/java/de/bixilon/minosoft/game/datatypes/entities/OtherPlayer.java @@ -24,6 +24,7 @@ public class OtherPlayer implements Mob { final UUID uuid; PlayerPropertyData[] properties; Location location; + Velocity velocity; int yaw; int pitch; int headYaw; @@ -70,16 +71,14 @@ public class OtherPlayer implements Mob { location = new Location(location.getX() + relativeLocation.getX(), location.getY() + relativeLocation.getY(), location.getZ() + relativeLocation.getZ()); } - @Deprecated @Override public Velocity getVelocity() { - return null; + return velocity; } - @Deprecated @Override public void setVelocity(Velocity velocity) { - + this.velocity = velocity; } @Override