mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Block API typehints
This commit is contained in:
@ -27,11 +27,11 @@ class RedstoneTorchUnlit extends Torch{
|
||||
|
||||
protected $id = self::UNLIT_REDSTONE_TORCH;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Unlit Redstone Torch";
|
||||
}
|
||||
|
||||
public function getLightLevel(){
|
||||
public function getLightLevel() : int{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user