mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-09 07:20:04 -04:00
enable OtherPlayer velocity
This commit is contained in:
parent
7571a50c6a
commit
2f42a11267
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user