mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove unused code.
This commit is contained in:
parent
589189315c
commit
a33e6df303
@ -76,11 +76,6 @@ impl Alignment {
|
|||||||
_ => false,
|
_ => 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 {
|
impl Component for Alignment {
|
||||||
|
Loading…
Reference in New Issue
Block a user