mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
freemoney type update (#1146)
Changed freemoney command to parse 64 bit integers as opposed to 32 bit
This commit is contained in:
parent
3e3148e910
commit
11b0097488
@ -1443,7 +1443,7 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
|
||||
}
|
||||
|
||||
if ((chatCommand == "freemoney" && entity->GetGMLevel() >= eGameMasterLevel::DEVELOPER) && args.size() == 1) {
|
||||
int32_t money;
|
||||
int64_t money;
|
||||
|
||||
if (!GeneralUtils::TryParse(args[0], money)) {
|
||||
ChatPackets::SendSystemMessage(sysAddr, u"Invalid money.");
|
||||
|
Loading…
Reference in New Issue
Block a user