mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
修复问题、添加give命令
修复使用除主角外角色无法进入的问题 新增give命令 武器数量 精炼 角色等级 命座等后期增加参数
This commit is contained in:
@@ -88,7 +88,11 @@ func (t *TickManager) onTickMinute(now int64) {
|
||||
count := random.GetRandomInt32(0, 4)
|
||||
i := int32(0)
|
||||
for itemId := range allItemDataConfig {
|
||||
itemDataConfig := allItemDataConfig[itemId]
|
||||
itemDataConfig, ok := allItemDataConfig[itemId]
|
||||
if !ok {
|
||||
logger.LOG.Error("config is nil, itemId: %v", itemId)
|
||||
return
|
||||
}
|
||||
// TODO 3.0.0REL版本中 发送某些无效家具 可能会导致客户端背包家具界面卡死
|
||||
if itemDataConfig.ItemEnumType == constant.ItemTypeConst.ITEM_FURNITURE {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user