More work on commands

This commit is contained in:
William committed 2023-03-12 12:49:46 +00:00
1 parent 0bd63a9f01
commit a72109667a
33 files changed
+445 -382

No files matched your search

@@ -28,18 +28,9 @@ public class Position extends Location implements Target {
private Position() {
}
/**
* Update the position to match that of another position
*
* @param newPosition The position to update to
*/
@Override
public void update(@NotNull Position newPosition) {
this.setX(newPosition.getX());
this.setY(newPosition.getY());
this.setZ(newPosition.getZ());
this.setYaw(newPosition.getYaw());
this.setPitch(newPosition.getPitch());
this.setWorld(newPosition.getWorld());
super.update(newPosition);
this.setServer(newPosition.getServer());
}