Updated SQL handling

This commit is contained in:
BuildTools committed 2020-12-08 17:56:03 +00:00
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;
}