Update src/NeedsSystem.cpp
parent
599bedcc2f
commit
ea1bc38473
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue