mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Added new Tool type selection constants
This commit is contained in:
@@ -27,4 +27,7 @@ class DiamondSword extends Tool{
|
||||
parent::__construct(self::DIAMOND_SWORD, $meta, $count, "Diamond Sword");
|
||||
}
|
||||
|
||||
public function isSword(){
|
||||
return Tool::TIER_DIAMOND;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user