mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Removed damage-table mess and added API methods Item->getAttackPoints() and Item->getDefensePoints()
This commit is contained in:
@ -32,4 +32,8 @@ class IronShovel extends Tool{
|
||||
public function isShovel(){
|
||||
return Tool::TIER_IRON;
|
||||
}
|
||||
|
||||
public function getAttackPoints() : int{
|
||||
return 4;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user