mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Database design, start callback-based implementation planning
This commit is contained in:
1 parent
0446db39c5
commit
8e7d5e74a0
17 files changed
+672
-92
No files matched your search
@@ -2,6 +2,8 @@ package net.william278.huskhomes.position;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Represents a server warp
|
||||
*/
|
||||
@@ -9,8 +11,18 @@ public class Warp extends SavedPosition {
|
||||
|
||||
public Warp(double x, double y, double z, float yaw, float pitch,
|
||||
@NotNull World world, @NotNull Server server,
|
||||
@NotNull PositionMeta positionMeta) {
|
||||
super(x, y, z, yaw, pitch, world, server, positionMeta);
|
||||
@NotNull PositionMeta positionMeta, @NotNull UUID uuid) {
|
||||
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new {@link Warp} from a {@link Position} and {@link PositionMeta}
|
||||
*
|
||||
* @param position The {@link Position} to save as a warp
|
||||
* @param meta {@link PositionMeta} information about this position
|
||||
*/
|
||||
public Warp(Position position, PositionMeta meta) {
|
||||
super(position, meta);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user