1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-23 20:55:43 +02:00

Fix punching of oerkkis

This commit is contained in:
Perttu Ahola
2011-10-17 01:58:38 +03:00
parent b0481b9db1
commit cfd19dcdb5
2 changed files with 18 additions and 3 deletions

View File

@@ -96,7 +96,8 @@ public:
std::string getClientInitializationData();
std::string getStaticData();
InventoryItem* createPickedUpItem(){return NULL;}
u16 punch(const std::string &toolname, v3f dir);
u16 punch(const std::string &toolname, v3f dir,
const std::string &playername);
bool isPeaceful(){return false;}
private:
void doDamage(u16 d);