fix InfoFesta response on S6.0

This commit is contained in:
wish
2024-02-19 18:12:51 +11:00
parent 864586a40b
commit 183f88654b

View File

@@ -234,8 +234,10 @@ func handleMsgMhfInfoFesta(s *Session, p mhfpacket.MHFPacket) {
bf.WriteUint16(trial.Locale) bf.WriteUint16(trial.Locale)
bf.WriteUint16(trial.Reward) bf.WriteUint16(trial.Reward)
bf.WriteInt16(int16(FestivalColourCodes[trial.Monopoly])) bf.WriteInt16(int16(FestivalColourCodes[trial.Monopoly]))
if _config.ErupeConfig.RealClientMode >= _config.F4 { // Not in S6.0
bf.WriteUint16(trial.Unk) bf.WriteUint16(trial.Unk)
} }
}
// The Winner and Loser Armor IDs are missing // The Winner and Loser Armor IDs are missing
// Item 7011 may not exist in older versions, remove to prevent crashes // Item 7011 may not exist in older versions, remove to prevent crashes