mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs setting
This commit is contained in:
parent
a17abae128
commit
414c614893
6 changed files with 18 additions and 0 deletions
|
@ -111,6 +111,8 @@ public:
|
|||
/*
|
||||
*/
|
||||
virtual void rightClick(Player *player){}
|
||||
|
||||
virtual bool isPeaceful(){return true;}
|
||||
|
||||
/*
|
||||
Number of players which know about this object. Object won't be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue