X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FProfile.java;h=18ec602e7c10b393414f3cd4f31b2b6835bd03d2;hb=c8a23e47f68e385e890ab485cb819f0e000fcb43;hp=22e43c37277adf21cd286aed22e9a3d76ed83556;hpb=5395541c338c2057ec3d381f38d73071d3a38753;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Profile.java b/src/main/java/net/pterodactylus/sone/data/Profile.java index 22e43c3..18ec602 100644 --- a/src/main/java/net/pterodactylus/sone/data/Profile.java +++ b/src/main/java/net/pterodactylus/sone/data/Profile.java @@ -38,6 +38,16 @@ public class Profile { } /** + * Creates a copy of a profile. + * + * @param profile + * The profile to copy + */ + public Profile(Profile profile) { + this.username = profile.username; + } + + /** * Returns the name of the user this profile belongs to. * * @return The name of the user this profile belongs to