mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 00:15:08 +01:00
remove mail item workaround
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
"TournamentEvent": 0,
|
"TournamentEvent": 0,
|
||||||
"MezFesEvent": true,
|
"MezFesEvent": true,
|
||||||
"MezFesAlt": false,
|
"MezFesAlt": false,
|
||||||
"DisableMailItems": true,
|
|
||||||
"DisableTokenCheck": false,
|
"DisableTokenCheck": false,
|
||||||
"QuestDebugTools": false,
|
"QuestDebugTools": false,
|
||||||
"SaveDumps": {
|
"SaveDumps": {
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ type DevModeOptions struct {
|
|||||||
MezFesEvent bool // MezFes status
|
MezFesEvent bool // MezFes status
|
||||||
MezFesAlt bool // Swaps out Volpakkun for Tokotoko
|
MezFesAlt bool // Swaps out Volpakkun for Tokotoko
|
||||||
DisableTokenCheck bool // Disables checking login token exists in the DB (security risk!)
|
DisableTokenCheck bool // Disables checking login token exists in the DB (security risk!)
|
||||||
DisableMailItems bool // Hack to prevent english versions of MHF from crashing
|
|
||||||
QuestDebugTools bool // Enable various quest debug logs
|
QuestDebugTools bool // Enable various quest debug logs
|
||||||
SaveDumps SaveDumpOptions
|
SaveDumps SaveDumpOptions
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -326,15 +326,8 @@ func handleMsgMhfListMail(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
flags |= 0x04
|
flags |= 0x04
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workaround until EN mail items are patched
|
if m.AttachedItemReceived {
|
||||||
if s.server.erupeConfig.DevMode && s.server.erupeConfig.DevModeOptions.DisableMailItems {
|
flags |= 0x08
|
||||||
if itemAttached {
|
|
||||||
flags |= 0x08
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if m.AttachedItemReceived {
|
|
||||||
flags |= 0x08
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if m.IsGuildInvite {
|
if m.IsGuildInvite {
|
||||||
|
|||||||
Reference in New Issue
Block a user