mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Added Shears check and drops [gh#749,750]
This commit is contained in:
parent
02a8a3e881
commit
30483d5312
2 changed files with 13 additions and 5 deletions
|
|
@ -261,6 +261,10 @@ class Item{
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function isShears(){
|
||||
return ($this->id === SHEARS);
|
||||
}
|
||||
|
||||
final public function __toString(){
|
||||
return "Item ". $this->name ." (".$this->id.":".$this->meta.")";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue