PaginationService paginationService = Sponge.getServiceManager().provide(PaginationService.class).get();
PaginationList paginationList = paginationService.builder().contents(entries).title(Messages.getFormatted("home.command.homelist.header").toBuilder().format(Messages.getFormatted("home.command.homelist.char").getFormat()).build()).footer(footer).padding(Messages.getFormatted("home.command.homelist.char")).build();
paginationList.sendTo(sender);
return CommandResult.empty();
}
<BUG>Home home = args.<Home>getOne("home").get();
Teleportation request = UltimateCore.get().getTeleportService().createTeleportation(p, Arrays.asList(p), home.getLocation(), req -> {
</BUG>
Messages.send(sender, "home.command.home.success", "%home%", home.getName());
}, (red, reason) -> {

PaginationService paginationService = Sponge.getServiceManager().provide(PaginationService.class).get();
PaginationList paginationList = paginationService.builder().contents(entries).title(Messages.getFormatted("home.command.homelist.header").toBuilder().format(Messages.getFormatted("home.command.homelist.char").getFormat()).build()).footer(footer).padding(Messages.getFormatted("home.command.homelist.char")).build();
paginationList.sendTo(sender);
return CommandResult.empty();
}
Home home = args.<Home>getOne("home").get();
if (!home.getLocation().isPresent()) {
throw Messages.error(sender, "home.command.home.notavailable");
}
Teleportation request = UltimateCore.get().getTeleportService().createTeleportation(p, Arrays.asList(p), home.getLocation().get(), req -> {
Messages.send(sender, "home.command.home.success", "%home%", home.getName());
}, (red, reason) -> {
