mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-29 22:55:19 +01:00
Damage: Play no damage sound when immortal (#8350)
Add isImmortal server-side for proper enable_damage handling Rework log messages
This commit is contained in:
@@ -45,6 +45,8 @@ public:
|
||||
|
||||
inline bool isAttached() const
|
||||
{ return getParent(); }
|
||||
inline bool isImmortal() const
|
||||
{ return itemgroup_get(m_armor_groups, "immortal"); }
|
||||
|
||||
void setArmorGroups(const ItemGroupList &armor_groups);
|
||||
const ItemGroupList &getArmorGroups();
|
||||
|
||||
Reference in New Issue
Block a user