mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added new Tool type selection constants
This commit is contained in:
@ -27,4 +27,7 @@ class DiamondPickaxe extends Tool{
|
||||
parent::__construct(self::DIAMOND_PICKAXE, $meta, $count, "Diamond Pickaxe");
|
||||
}
|
||||
|
||||
public function isPickaxe(){
|
||||
return Tool::TIER_DIAMOND;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user