mirror of
https://github.com/CPunch/gopenfusion.git
synced 2025-10-07 01:50:14 +00:00
switched NPC autoincremented ID to atomic int
This commit is contained in:
@@ -108,7 +108,7 @@ func (server *ShardServer) handlePacket(peer *protocol.CNPeer, typeID uint32, pk
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
log.Printf("[WARN] invalid packet ID: %x\n", typeID)
|
||||
log.Printf("[WARN] unknown packet ID: %x\n", typeID)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user