From cdb0198fb8e85811ec1e06b15f36df9cbe0fdb9a Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 25 二月 2019 14:12:41 +0800
Subject: [PATCH] 3335 物品相关类型重构
---
System/MainInterfacePanel/MainButtonMisc.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/MainButtonMisc.cs b/System/MainInterfacePanel/MainButtonMisc.cs
index bf3a6cb..89ad536 100644
--- a/System/MainInterfacePanel/MainButtonMisc.cs
+++ b/System/MainInterfacePanel/MainButtonMisc.cs
@@ -285,7 +285,7 @@
if (fairyGrabBossModel.TestEnterDungeon(fairyGrabBossModel.cacheGotoBossId, out error))
{
var bossInfoConfig = BossInfoConfig.Get(fairyGrabBossModel.cacheGotoBossId);
- var flyItemCount = ModelCenter.Instance.GetModel<PlayerPackModel>().GetItemCountByID(PackType.Item, GeneralDefine.flyBootItemId);
+ var flyItemCount = ModelCenter.Instance.GetModel<PackModel>().GetItemCountByID(PackType.Item, GeneralDefine.flyBootItemId);
var freeFly = ModelCenter.Instance.GetModel<VipModel>().GetVipPrivilegeCnt(VipPrivilegeType.FreeTransfer) > 0;
if (bossInfoConfig != null)
{
--
Gitblit v1.8.0