From 97e2cc4d0dadd5525d27c0f4485cc2bb03fad8fc Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 21 Jun 2020 21:43:42 +0200 Subject: [PATCH] test --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 0878bd4..5e932df 100644 --- a/main.go +++ b/main.go @@ -157,6 +157,10 @@ func main() { } sp.Read(b[:p.PLength]) logInfoDebug("AdminPacketServerDate :\n- Date: %d\n- RealDate : %v", sp.Date, toDate(sp.Date)) + t := toDate(sp.Date) + if t.Day() == 1 && t.Month() == 1 { + sendChat(-436055948, fmt.Sprintf("Year %d.", t.Year())) + } paused = false case AdminPacketServerClientJoin: sp := PacketServerClientJoin{