mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
bow will consume durability, arrows will be deleted
This commit is contained in:
parent
0a1a4f33f3
commit
105b09e28f
3 changed files with 18 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue