From 99196b7d31a1c2036649daf430c4866f82ef86a1 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 25 Apr 2016 22:14:14 +0200 Subject: [PATCH] Fixed new players having (0s) flair --- TheButtonAutoFlair.jar | Bin 334814 -> 334815 bytes .../thebuttonmc/MaybeOfflinePlayer.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TheButtonAutoFlair.jar b/TheButtonAutoFlair.jar index 4f82b8ad93a3aecd8ddeb7f4b11cdd98d4f98248..f7a42e1b99474eaef9bf94421430829fc288bdf7 100644 GIT binary patch delta 2807 zcmX|8c|6qH8}^-}yEY$(psSS+bNuku6&zG*MZuwJb-aXIc}ggaS^5$QL&zt8>S{d~^zyw7>x=Q(Grkucs!z}i`(F$6YFPENL(+FGpI z7^=E9n=*CrygRLlykG-S2C?9X`9IooqrP`xf@rRV!cfp^~3XHMGC6D6{Dj9`I0K zGmo9ScF`)_q0WFgx89WcT}|ggAi|3^6T~NrWoduw0|Z|p#m#z`+3R2Fhd{< zYbP%}a5^Fu9QW=0mgJ;WgikUYt&62*Xg|_?A(BW~ixeI2SoN`YJshhk9#CR5KDbY~ zi_&5`?tb&FfoWZP>8VN|+O7B8SDmusTC)b)tEOU@6wl(XZ&OTPX-*cOIg?eogcd#c zXQo`+UlwmGt51tZ(}>}bwW})npAU7VA66Raw~WFD1i{(#Kja@JOX}+CG)#wNv~cu9 ztv6?k(|h-q$;*32YW4X2&=YNcE^@_Dnj_bi?8I!z?fSksAm;mpiC2s%iFS((nP+m3 zoxJUuVsnFsfx=M*KEI#o8;{&V|14>ek9K+`g3R*cGIibLXdy34wi|QAgi8zs&9A=t ze&7d{_*}CEHp$+L_DdTIkeT^3RrlhpPe_!E;+8RIqm0MpDBYos+mhytK>FBc8+C!` z*_+P$KcxM*=(^d)6;xuKxU{QXCd}W#Ik?(c%yW9zXmGwrL4EkslwOH3{O`^#^lNuy zSIpvNsOkCo!z7w#8vbfTrj^$7;tvCUhwJsd6C-Vg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 diff --git a/src/io/github/norbipeti/thebuttonmc/MaybeOfflinePlayer.java b/src/io/github/norbipeti/thebuttonmc/MaybeOfflinePlayer.java index 24727ab..bf04be2 100644 --- a/src/io/github/norbipeti/thebuttonmc/MaybeOfflinePlayer.java +++ b/src/io/github/norbipeti/thebuttonmc/MaybeOfflinePlayer.java @@ -42,7 +42,7 @@ public class MaybeOfflinePlayer { if (!AllPlayers.containsKey(uuid)) { MaybeOfflinePlayer player = new MaybeOfflinePlayer(); player.UUID = uuid; - player.FlairTime = 0; + player.FlairTime = FlairTimeNone; player.FlairState = FlairStates.NoComment; player.UserNames = new ArrayList<>(); AllPlayers.put(uuid, player);