mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-16 12:42:40 +08:00
Refactor Player::GetPos() -> Player::GetPosition()
This commit is contained in:
@@ -26,7 +26,7 @@ public final class TeleportCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
||||
Position pos = targetPlayer.getPos();
|
||||
Position pos = targetPlayer.getPosition();
|
||||
float x = pos.getX();
|
||||
float y = pos.getY();
|
||||
float z = pos.getZ();
|
||||
|
||||
Reference in New Issue
Block a user