mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Continue command refactor work
This commit is contained in:
31 files changed
+319
-391
No files matched your search
@@ -14,7 +14,7 @@ public class Home extends SavedPosition {
|
||||
private boolean isPublic;
|
||||
|
||||
public Home(double x, double y, double z, float yaw, float pitch,
|
||||
@NotNull World world, @NotNull Server server,
|
||||
@NotNull World world, @NotNull String server,
|
||||
@NotNull PositionMeta positionMeta, @NotNull UUID uuid,
|
||||
@NotNull User owner, boolean isPublic) {
|
||||
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
|
||||
|
||||
@@ -13,7 +13,7 @@ public abstract class SavedPosition extends Position implements Comparable<Saved
|
||||
private final UUID uuid;
|
||||
|
||||
protected SavedPosition(double x, double y, double z, float yaw, float pitch,
|
||||
@NotNull World world, @NotNull Server server,
|
||||
@NotNull World world, @NotNull String server,
|
||||
@NotNull PositionMeta meta, @NotNull UUID uuid) {
|
||||
super(x, y, z, yaw, pitch, world, server);
|
||||
this.setMeta(meta);
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.UUID;
|
||||
public class Warp extends SavedPosition {
|
||||
|
||||
public Warp(double x, double y, double z, float yaw, float pitch,
|
||||
@NotNull World world, @NotNull Server server,
|
||||
@NotNull World world, @NotNull String server,
|
||||
@NotNull PositionMeta positionMeta, @NotNull UUID uuid) {
|
||||
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user