From 5341bf59c20c770ab50b80d6b336b47ed509f8d8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 15 Oct 2011 12:17:21 +0300 Subject: Improve mobv2 --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.cpp') 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) { -- cgit v1.2.3