Commit 8f82730b authored by SuperXingKong's avatar SuperXingKong
Browse files

Add tooltype of snowblock, fixed #1102

parent e09b2049
Pipeline #288054775 failed with stage
in 13 seconds
......@@ -23,6 +23,7 @@ namespace pocketmine\block;
use pocketmine\item\enchantment\Enchantment;
use pocketmine\item\Item;
use pocketmine\item\Tool;
class Snow extends Solid {
......@@ -44,6 +45,10 @@ class Snow extends Solid {
return 0.2;
}
public function getToolType(){
return Tool::TYPE_SHOVEL;
}
/**
* @return string
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment