]> git.lizzy.rs Git - minetest.git/blobdiff - src/serverobject.h
When player times out, log the action as a timeout rather than regular quitting
[minetest.git] / src / serverobject.h
index a9bd0a7c4afc38b3d375f1b5cb56063222dda4ea..cbb50949cf8a4ff0064098fd03cbed5d98d47245 100644 (file)
@@ -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