mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added new Tool type selection constants
This commit is contained in:
@ -27,4 +27,7 @@ class StoneSword extends Tool{
|
||||
parent::__construct(self::STONE_SWORD, $meta, $count, "Stone Sword");
|
||||
}
|
||||
|
||||
public function isSword(){
|
||||
return Tool::TIER_STONE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user