mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added block updates, correct block placing
This commit is contained in:
@ -172,6 +172,7 @@ abstract class Tool extends Item{
|
||||
|
||||
public function isTool(){
|
||||
return false;
|
||||
|
||||
return ($this->id === self::FLINT_STEEL or $this->id === self::SHEARS or $this->id === self::BOW or $this->isPickaxe() !== false or $this->isAxe() !== false or $this->isShovel() !== false or $this->isSword() !== false);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user