diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index d78a00ea3..ba4921dd0 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2340,7 +2340,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) v3f objpos = obj->getBasePosition(); v3f dir = (objpos - playerpos).normalize(); - u16 wear = obj->punch(toolname, dir); + u16 wear = obj->punch(toolname, dir, player->getName()); if(titem) { |