Database design, start callback-based implementation planning

This commit is contained in:
William committed 2022-05-21 02:53:58 +01:00
1 parent 0446db39c5
commit 8e7d5e74a0
17 files changed
+672 -92

No files matched your search

@@ -3,6 +3,8 @@ package net.william278.huskhomes.position;
import net.william278.huskhomes.player.Player;
import org.jetbrains.annotations.NotNull;
import java.util.UUID;
/**
* Represents a home set by a {@link Player}
*/
@@ -21,10 +23,16 @@ public class Home extends SavedPosition {
public Home(double x, double y, double z, float yaw, float pitch,
@NotNull World world, @NotNull Server server,
@NotNull PositionMeta positionMeta,
@NotNull PositionMeta positionMeta, @NotNull UUID uuid,
@NotNull Player owner, boolean isPublic) {
super(x, y, z, yaw, pitch, world, server, positionMeta);
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
this.owner = owner;
this.isPublic = isPublic;
}
public Home(Position position, PositionMeta meta, @NotNull Player owner) {
super(position, meta);
this.owner = owner;
this.isPublic = false;
}
}