Add Releasable interface (#3664)

closes #3301
This commit is contained in:
Govdim
2020-06-30 23:09:10 +03:00
committed by GitHub
parent 74a919353f
commit 7f81507ea1
4 changed files with 35 additions and 4 deletions

View File

@ -34,7 +34,7 @@ use pocketmine\world\sound\BowShootSound;
use function intdiv;
use function min;
class Bow extends Tool{
class Bow extends Tool implements Releasable{
public function getFuelTime() : int{
return 200;