Fix limbo player location on join

This commit is contained in:
sgdc3
2017-09-30 15:13:35 +02:00
parent 574fa9034d
commit f45092bdd2
6 changed files with 49 additions and 31 deletions
@@ -12,6 +12,7 @@ import fr.xephi.authme.process.register.executors.RegistrationMethod;
import fr.xephi.authme.process.register.executors.RegistrationParameters;
import fr.xephi.authme.process.unregister.AsynchronousUnregister;
import fr.xephi.authme.service.BukkitService;
import org.bukkit.Location;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@@ -73,8 +74,8 @@ public class Management {
runTask(() -> asynchronousUnregister.adminUnregister(initiator, name, player));
}
public void performJoin(Player player) {
runTask(() -> asynchronousJoin.processJoin(player));
public void performJoin(Player player, Location location) {
runTask(() -> asynchronousJoin.processJoin(player, location));
}
public void performQuit(Player player) {