mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Updated SQL handling
This commit is contained in:
1 parent
559e38fc4b
commit
9d902a8453
4 files changed
+138
-94
No files matched your search
@@ -24,6 +24,14 @@ public class Home extends TeleportationPoint {
|
||||
this.isPublic = isPublic;
|
||||
}
|
||||
|
||||
public Home(TeleportationPoint teleportationPoint, String ownerUsername, String ownerUUID, String name, String description, boolean isPublic) {
|
||||
super(teleportationPoint.worldName, teleportationPoint.x, teleportationPoint.y, teleportationPoint.z, teleportationPoint.yaw, teleportationPoint.pitch, teleportationPoint.server);
|
||||
this.ownerUsername = ownerUsername;
|
||||
this.ownerUUID = UUID.fromString(ownerUUID);
|
||||
this.name = name;
|
||||
this.isPublic = isPublic;
|
||||
}
|
||||
|
||||
public boolean isPublic() {
|
||||
return isPublic;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user