mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
FishingRod: make class less useless
This commit is contained in:
parent
b661097c51
commit
6ecfbd1bde
@ -23,7 +23,15 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\item;
|
||||
|
||||
class FishingRod extends Item{
|
||||
class FishingRod extends Durable{
|
||||
|
||||
public function getMaxStackSize() : int{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public function getMaxDurability() : int{
|
||||
return 384;
|
||||
}
|
||||
|
||||
//TODO
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user