优化代码

This commit is contained in:
flswld
2023-03-03 17:02:25 +08:00
parent ea7a071d2a
commit 42b66453fb
19 changed files with 44 additions and 98 deletions
-1
View File
@@ -33,7 +33,6 @@ func (g *GameManager) AddUserFlycloak(userId uint32, flyCloakId uint32) {
// AvatarWearFlycloakReq 角色装备风之翼请求
func (g *GameManager) AvatarWearFlycloakReq(player *model.Player, payloadMsg pb.Message) {
logger.Debug("user change avatar fly cloak, uid: %v", player.PlayerID)
req := payloadMsg.(*proto.AvatarWearFlycloakReq)
world := WORLD_MANAGER.GetWorldByID(player.WorldId)