mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Clean up Tool garbage leftovers
these were intended to be removed long ago, but other things came up and durability handling still depended on them.
This commit is contained in:
@ -738,30 +738,6 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function isPickaxe(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isAxe(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isSword(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isShovel(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isHoe(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isShears(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getMiningEfficiency(Block $block) : float{
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user