mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs setting
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user