Small fix
This commit is contained in:
parent
725e0605e8
commit
a70fd7bd80
@ -333,8 +333,7 @@ namespace command
|
|||||||
}
|
}
|
||||||
else if (arg == "health"s)
|
else if (arg == "health"s)
|
||||||
{
|
{
|
||||||
|
if (params.size() > 2)
|
||||||
if (params.size() > 3)
|
|
||||||
{
|
{
|
||||||
const auto amount = atoi(params.get(2));
|
const auto amount = atoi(params.get(2));
|
||||||
const auto health = player.get("health").as<int>();
|
const auto health = player.get("health").as<int>();
|
||||||
|
Loading…
Reference in New Issue
Block a user