Version 3.0 setup

This commit is contained in:
William committed 2022-05-20 17:27:14 +01:00
1 parent e122816613
commit 58ffaa0641
23 files changed
+874 -2

No files matched your search

@@ -0,0 +1,30 @@
package net.william278.huskhomes.position;
import net.william278.huskhomes.player.Player;
import org.jetbrains.annotations.NotNull;
/**
* Represents a home set by a {@link Player}
*/
public class Home extends SavedPosition {
/**
* The {@link Player} who owns this home
*/
@NotNull
public final Player owner;
/**
* {@code true} if this home is public
*/
public boolean isPublic;
public Home(double x, double y, double z, float yaw, float pitch,
@NotNull World world, @NotNull Server server,
@NotNull PositionMeta positionMeta,
@NotNull Player owner, boolean isPublic) {
super(x, y, z, yaw, pitch, world, server, positionMeta);
this.owner = owner;
this.isPublic = isPublic;
}
}