mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/NetworkIO: implemented undelete opcodes and moved char create/delete packets to new packet classes
This commit is contained in:
@@ -389,7 +389,7 @@ void fixNULLfields(std::string &line)
|
||||
DumpReturn PlayerDumpReader::LoadDump(std::string const& file, uint32 account, std::string name, ObjectGuid::LowType guid)
|
||||
{
|
||||
uint32 charcount = AccountMgr::GetCharactersCount(account);
|
||||
if (charcount >= 10)
|
||||
if (charcount >= sWorld->getIntConfig(CONFIG_CHARACTERS_PER_REALM))
|
||||
return DUMP_TOO_MANY_CHARS;
|
||||
|
||||
FILE* fin = fopen(file.c_str(), "r");
|
||||
|
||||
Reference in New Issue
Block a user