// check to which homes is player invited, if we didn't spam too much :)
if (!Utils.checkCommandSpam(player, "home-list")) {
// create ExecutorService to manage threads
ExecutorService threadExecutor = Executors.newFixedThreadPool(1);
threadExecutor.execute(new ListInvitedHomes(sender)); // execute the LIST command thread
threadExecutor.shutdown(); // shutdown worker threads
}
} else {
// no database, no homes
LogHelper.showInfo("homeNoDatabase", sender);