Catch SendFailedException when replying back in Connection::Receive()
[oweals/minetest.git] / src / materials.h
index 272116d8310209836a764e32701c5ff40bc04d2b..1439df194c27ea892e20d9e15ee2170fd47e2bd6 100644 (file)
@@ -49,7 +49,7 @@ struct DiggingProperties
 };
 
 /*
-       This is a DEPRECATED way of determining mining characteristics.
+       This is a bad way of determining mining characteristics.
        TODO: Get rid of this and set up some attributes like toughness,
              fluffyness, and a funciton to calculate time and durability loss
              (and sound? and whatever else) from them
@@ -97,7 +97,7 @@ private:
 };
 
 // For getting the default properties, set tool=""
-DiggingProperties getDiggingProperties(u8 material, const std::string &tool);
+DiggingProperties getDiggingProperties(u16 material, const std::string &tool);
 
 #endif