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
9d902a8453
commit
b95629a986
8 files changed
+454
-39
No files matched your search
@@ -29,6 +29,7 @@ public class Home extends TeleportationPoint {
|
||||
this.ownerUsername = ownerUsername;
|
||||
this.ownerUUID = UUID.fromString(ownerUUID);
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
this.isPublic = isPublic;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@ package me.william278.huskhomes2.Objects;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class Warp extends TeleportationPoint {
|
||||
|
||||
String name;
|
||||
@@ -13,6 +15,12 @@ public class Warp extends TeleportationPoint {
|
||||
this.description = "A publicly accessible warp";
|
||||
}
|
||||
|
||||
public Warp(TeleportationPoint teleportationPoint, String name, String description) {
|
||||
super(teleportationPoint.worldName, teleportationPoint.x, teleportationPoint.y, teleportationPoint.z, teleportationPoint.yaw, teleportationPoint.pitch, teleportationPoint.server);
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user