Improve mobv2
This commit is contained in:
@@ -104,7 +104,8 @@ class ServerActiveObject : public ActiveObject
|
||||
If the object doesn't return an item, this will be called.
|
||||
Return value is tool wear.
|
||||
*/
|
||||
virtual u16 punch(const std::string &toolname, v3f dir)
|
||||
virtual u16 punch(const std::string &toolname, v3f dir,
|
||||
const std::string &playername)
|
||||
{return 0;}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user