diff options
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index 01f199a4b..a9bd0a7c4 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -104,7 +104,8 @@ public: 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;} /* |