bow will consume durability, arrows will be deleted

This commit is contained in:
GameHerobrine 2024-03-24 03:18:07 +03:00
parent 0a1a4f33f3
commit 105b09e28f
3 changed files with 18 additions and 4 deletions

View file

@ -2,7 +2,7 @@
class BowItem extends Item{
public function __construct($meta = 0, $count = 1){
parent::__construct(BOW, 0, $count, "Bow");
parent::__construct(BOW, $meta, $count, "Bow");
}
public function isTool(){ //it is tool too
return true;