mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Version 3.0 setup
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user