Add an option to relocate homes/warps with /sethome and /setwarp with a same-named homes

This commit is contained in:
William committed 2022-10-29 18:02:01 +01:00
1 parent e20dcc4ce4
commit 729cb5870f
3 files changed
+41 -2

No files matched your search

@@ -167,7 +167,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
// Prepare the home and warp position manager
this.savedPositionManager = new SavedPositionManager(database, cache, eventDispatcher,
settings.allowUnicodeNames, settings.allowUnicodeDescriptions);
settings.allowUnicodeNames, settings.allowUnicodeDescriptions, settings.overwriteExistingHomesWarps);
// Initialize the RTP engine with the default normal distribution engine
setRandomTeleportEngine(new NormalDistributionEngine(this));