mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Unify Item constructor style
this exposed a few more dead classes.
This commit is contained in:
@@ -32,9 +32,6 @@ use pocketmine\world\sound\FlintSteelSound;
|
||||
use function assert;
|
||||
|
||||
class FlintSteel extends Tool{
|
||||
public function __construct(){
|
||||
parent::__construct(self::FLINT_STEEL, 0, "Flint and Steel");
|
||||
}
|
||||
|
||||
public function onActivate(Player $player, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector) : ItemUseResult{
|
||||
if($blockReplace->getId() === BlockLegacyIds::AIR){
|
||||
|
Reference in New Issue
Block a user