test
This commit is contained in:
parent
4d72bee53e
commit
97e2cc4d0d
4
main.go
4
main.go
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user