
if (!loc.isPresent()) {
throw new DataFailedException(Messages.getFormatted(sender, "back.command.back.notfound"));</BUG>
}
<BUG>Teleportation tp = UltimateCore.get().getTeleportService().createTeleportation(sender, Arrays.asList(p), loc.get(), tel -> {
</BUG>
Messages.send(sender, "back.command.back.success");
}, (tel, reason) -> {
}, true, false);
tp.start();

public CommandResult execute(CommandSource sender, CommandContext args) throws CommandException {
checkIfPlayer(sender);
checkPermission(sender, BackPermissions.UC_BACK_BACK_BASE);
Player p = (Player) sender;
UltimateUser up = UltimateCore.get().getUserService().getUser(p);
Optional<SerializableTransform> loc = up.get(BackKeys.BACK);
if (!loc.isPresent() || loc.get().isPresent()) {
throw new DataFailedException(Messages.getFormatted(sender, "back.command.back.notfound"));
}
Teleportation tp = UltimateCore.get().getTeleportService().createTeleportation(sender, Arrays.asList(p), loc.get().get(), tel -> {
Messages.send(sender, "back.command.back.success");
}, (tel, reason) -> {
}, true, false);
tp.start();
