mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Modernize private property declarations in src/player
This commit is contained in:
@ -27,13 +27,7 @@ use pocketmine\math\Vector3;
|
||||
use pocketmine\world\TickingChunkLoader;
|
||||
|
||||
final class PlayerChunkLoader implements TickingChunkLoader{
|
||||
|
||||
/** @var Vector3 */
|
||||
private $currentLocation;
|
||||
|
||||
public function __construct(Vector3 $currentLocation){
|
||||
$this->currentLocation = $currentLocation;
|
||||
}
|
||||
public function __construct(private Vector3 $currentLocation){}
|
||||
|
||||
public function setCurrentLocation(Vector3 $currentLocation) : void{
|
||||
$this->currentLocation = $currentLocation;
|
||||
|
Reference in New Issue
Block a user