Remove unused code.

This commit is contained in:
Tormod G. Hellen 2021-12-16 19:36:25 +01:00
parent 589189315c
commit a33e6df303

View File

@ -76,11 +76,6 @@ impl Alignment {
_ => false,
}
}
// TODO: Remove this hack
pub fn is_friendly_to_players(&self) -> bool {
matches!(self, Alignment::Npc | Alignment::Tame | Alignment::Owned(_))
}
}
impl Component for Alignment {