X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSone.java;h=a0f87b227d257ade161c5e01ce251da237eb479c;hp=7fd5fa6e9582af2c0b59a9004b461aef73d77b4a;hb=22788933e4a2b4ee39f298ebcefda5b93b0496fb;hpb=be00633d1250fc7480d19f11343f3e390c7e51f3 diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 7fd5fa6..a0f87b2 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -79,7 +79,7 @@ public class Sone { private volatile long time; /** The profile of this Sone. */ - private volatile Profile profile; + private volatile Profile profile = new Profile(); /** All friend Sones. */ private final Set friendSones = Collections.synchronizedSet(new HashSet());