mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Database: Rename setHome and setWarp methods to "save" for consistency
This commit is contained in:
1 parent
a0c34743ef
commit
7a63e8c173
4 files changed
+13
-13
No files matched your search
@@ -382,7 +382,7 @@ public abstract class Database {
|
||||
* @param home The {@link Home} to set - or update - in the database.
|
||||
* @return A future returning void when complete
|
||||
*/
|
||||
public abstract CompletableFuture<Void> setHome(@NotNull Home home);
|
||||
public abstract CompletableFuture<Void> saveHome(@NotNull Home home);
|
||||
|
||||
/**
|
||||
* Sets or updates a {@link Warp} into the warp data table on the database.
|
||||
@@ -390,7 +390,7 @@ public abstract class Database {
|
||||
* @param warp The {@link Warp} to set - or update - in the database.
|
||||
* @return A future returning void when complete
|
||||
*/
|
||||
public abstract CompletableFuture<Void> setWarp(@NotNull Warp warp);
|
||||
public abstract CompletableFuture<Void> saveWarp(@NotNull Warp warp);
|
||||
|
||||
/**
|
||||
* Deletes a {@link Home} by the given unique id from the home table on the database.
|
||||
|
||||
Reference in new issue
Block a user