Add peaceful / not peaceful distinction in mobs and the only_peaceful_mobs setting
This commit is contained in:
@@ -111,6 +111,8 @@ class ServerActiveObject : public ActiveObject
|
||||
/*
|
||||
*/
|
||||
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