Fix list and TAB completion issues; close #272, #273

This commit is contained in:
William committed 2022-11-27 20:17:23 +00:00
1 parent 1dc45b8286
commit b7cf0fa590
18 files changed
+111 -67

No files matched your search

@@ -57,7 +57,7 @@ public class HomeCommand extends CommandBase implements TabCompletable, ConsoleE
}
private void teleportToNamedHome(@NotNull OnlineUser teleporter, @NotNull User owner, @NotNull String homeName) {
final boolean otherHome = !owner.uuid.equals(teleporter.uuid);
final boolean otherHome = !owner.equals(teleporter);
plugin.getDatabase()
.getHome(owner, homeName)
.thenAccept(homeResult -> homeResult.ifPresentOrElse(home -> {