this.player = player;
}
@Override
void connect() throws UnknownHostException, IOException {
PlayerFile dat = new PlayerFile(name, server);
dat.setInventory(inv);
dat.setPosition(player.position());
dat.setLook(player.yaw(), player.pitch());
dat.save();
super.connect();
}