parent
e0ca4d8399
commit
9a1ed26893
@ -1295,7 +1295,7 @@ bool cPlayer::IsGameModeSpectator(void) const
|
||||
|
||||
bool cPlayer::CanMobsTarget(void) const
|
||||
{
|
||||
return IsGameModeSurvival() || IsGameModeAdventure();
|
||||
return (IsGameModeSurvival() || IsGameModeAdventure()) && (m_Health > 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user