mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-24 16:43:37 +01:00
fix(guild): rename GuildMealDuration to ClanMealDuration to match upstream 9.3
- Renamed config key from GuildMealDuration to ClanMealDuration - Changed unit from minutes to seconds (matching upstream convention) - Updated handler to use seconds-based calculation - Updated documentation and examples This fixes the bug where clan meals were not being shared between guild members when using a config.json with the upstream naming.
This commit is contained in:
@@ -69,7 +69,7 @@ type GameplayOptions struct {
|
||||
DisableLoginBoost bool // Disables the Login Boost system
|
||||
DisableBoostTime bool // Disables the daily NetCafe Boost Time
|
||||
BoostTimeDuration int // The number of minutes NetCafe Boost Time lasts for
|
||||
GuildMealDuration int // The number of minutes a Guild Meal can be activated for after cooking
|
||||
ClanMealDuration int // Seconds that a Clan Meal can be activated for after cooking
|
||||
BonusQuestAllowance uint32 // Number of Bonus Point Quests to allow daily
|
||||
DailyQuestAllowance uint32 // Number of Daily Quests to allow daily
|
||||
}
|
||||
|
||||
@@ -501,7 +501,7 @@ func TestConfigCompleteStructure(t *testing.T) {
|
||||
MaximumRP: 65535,
|
||||
DisableLoginBoost: false,
|
||||
BoostTimeDuration: 60,
|
||||
GuildMealDuration: 30,
|
||||
ClanMealDuration: 1800,
|
||||
BonusQuestAllowance: 10,
|
||||
DailyQuestAllowance: 5,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user