优化烽火地带最小等级
This commit is contained in:
@@ -193,6 +193,9 @@ func normalizePublishOptions(options *PublishOptionsDTO) {
|
||||
if len(options.BanEvidenceOptions) == 0 {
|
||||
options.BanEvidenceOptions = defaults.BanEvidenceOptions
|
||||
}
|
||||
if options.FireLevelMin <= 0 {
|
||||
options.FireLevelMin = defaults.FireLevelMin
|
||||
}
|
||||
if options.PriceConfig.DepositPlaceholder == "" {
|
||||
options.PriceConfig.DepositPlaceholder = defaults.PriceConfig.DepositPlaceholder
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user