if(IS_SPEC(caller) || IS_OBSERVER(caller))
return; // no point warning about this, command does nothing
- if(GetResourceAmount(caller, RES_HEALTH) <= 0)
+ if(GetResource(caller, RES_HEALTH) <= 0)
{
sprint(caller, "Can't die - you are already dead!\n");
return;