private static bool CheckPlayerIsAlive(Player p) { if (p.CurrentHealth <= 0) { p.SendMessage("You can't do that while dead."); p.SendPrompt(); return(false); } return(true); }
private static bool CheckPlayerIsAlive(Player p) { if (p.CurrentHealth <= 0) { p.SendMessage("You can't do that while dead."); p.SendPrompt(); return false; } return true; }