Continue command refactor work

This commit is contained in:
William committed 2023-03-07 15:17:20 +00:00
1 parent 3e27f7c5b1
commit 0bd63a9f01
31 files changed
+319 -391

No files matched your search

@@ -50,6 +50,10 @@ public class HomesManager {
plugin.getDatabase().deleteHome(home.get().getUuid());
}
public int deleteAllHomes(@NotNull User owner) {
return plugin.getDatabase().deleteAllHomes(owner);
}
public void relocateHome(@NotNull User owner, @NotNull String name, @NotNull Position position) throws ValidationException {
createHome(owner, name, position, true);
}