mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-18 21:38:08 +00:00
use class enums
This commit is contained in:
@@ -732,7 +732,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
||||
|
||||
petComponent->SetFlag(petFlag);
|
||||
|
||||
std::u16string msg = u"Set pet flag to " + (GeneralUtils::to_u16string(petFlag));
|
||||
std::u16string msg = u"Set pet flag to " + (GeneralUtils::to_u16string(GeneralUtils::CastUnderlyingType(petFlag)));
|
||||
ChatPackets::SendSystemMessage(sysAddr, msg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user