Update src/NeedsSystem.cpp

master
Dominik Madarász 2024-08-08 11:12:01 +00:00
parent 599bedcc2f
commit ea1bc38473
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public:
return false; return false;
PlayerNeeds* needs = player->CustomData.Get<PlayerNeeds>("Needs"); PlayerNeeds* needs = player->CustomData.Get<PlayerNeeds>("Needs");
ChatHandler(player->GetSession()).PSendSysMessage("Current needs:\nHunger: %d\nThirst: %d", needs->hunger, needs->thirst); ChatHandler(player->GetSession()).PSendSysMessage("Current needs:\nHunger: {}\nThirst: {}", needs->hunger, needs->thirst);
return true; return true;
} }