X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSone.java;h=5613828d870ff2d0eaad2f8583c06362c1adae63;hb=0d4c0d1807ed83cbed7fd11fde34944be2864908;hp=129293cee88ad1434e746825b8ae29c595d6f732;hpb=b29cf0908e6dfd2b55220a3a7e44200f2fe5b19e;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 129293c..5613828 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -24,7 +24,6 @@ import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Set; -import java.util.UUID; import java.util.logging.Level; import java.util.logging.Logger; @@ -45,8 +44,8 @@ public class Sone { /** The logger. */ private static final Logger logger = Logging.getLogger(Sone.class); - /** A GUID for this Sone. */ - private final UUID id; + /** The ID of this Sone. */ + private final String id; /** The name of this Sone. */ private volatile String name; @@ -92,7 +91,7 @@ public class Sone { * The ID of this Sone */ public Sone(String id) { - this.id = UUID.fromString(id); + this.id = id; } // @@ -105,7 +104,7 @@ public class Sone { * @return The ID of this Sone */ public String getId() { - return id.toString(); + return id; } /**