This commit is contained in:
shoopea 2020-06-21 21:43:42 +02:00
parent 4d72bee53e
commit 97e2cc4d0d

View File

@ -157,6 +157,10 @@ func main() {
} }
sp.Read(b[:p.PLength]) sp.Read(b[:p.PLength])
logInfoDebug("AdminPacketServerDate :\n- Date: %d\n- RealDate : %v", sp.Date, toDate(sp.Date)) 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 paused = false
case AdminPacketServerClientJoin: case AdminPacketServerClientJoin:
sp := PacketServerClientJoin{ sp := PacketServerClientJoin{