mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
23a7b2a903
9 files changed
+289
-202
No files matched your search
+2
-2
@@ -2,12 +2,12 @@ dependencies {
|
||||
implementation project(path: ':common')
|
||||
|
||||
implementation 'org.bstats:bstats-bukkit:3.0.0'
|
||||
implementation 'io.papermc:paperlib:1.0.7'
|
||||
implementation 'io.papermc:paperlib:1.0.8'
|
||||
implementation 'me.lucko:commodore:2.2'
|
||||
implementation 'net.kyori:adventure-platform-bukkit:4.2.0'
|
||||
|
||||
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
|
||||
compileOnly 'org.jetbrains:annotations:23.1.0'
|
||||
compileOnly 'org.jetbrains:annotations:24.0.0'
|
||||
compileOnly 'de.themoep:minedown-adventure:1.7.2-SNAPSHOT'
|
||||
compileOnly 'redis.clients:jedis:' + jedis_version
|
||||
compileOnly 'commons-io:commons-io:2.11.0'
|
||||
|
||||
@@ -163,7 +163,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
cache.initialize(database);
|
||||
|
||||
// Prepare the home and warp position manager
|
||||
this.savedPositionManager = new SavedPositionManager(database, cache, eventDispatcher, settings.allowUnicodeNames, settings.allowUnicodeDescriptions, settings.overwriteExistingHomesWarps);
|
||||
this.savedPositionManager = new SavedPositionManager(this);
|
||||
|
||||
// Initialize the RTP engine with the default normal distribution engine
|
||||
setRandomTeleportEngine(new NormalDistributionEngine(this));
|
||||
@@ -191,7 +191,6 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
}
|
||||
}
|
||||
}
|
||||
getMapHook().ifPresent(mapHook -> savedPositionManager.setMapHook(mapHook));
|
||||
}
|
||||
if (Bukkit.getPluginManager().getPlugin("Plan") != null) {
|
||||
pluginHooks.add(new PlanHook(this));
|
||||
@@ -242,7 +241,6 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
// Prepare migrators
|
||||
this.migrators = new ArrayList<>();
|
||||
this.migrators.add(new LegacyMigrator(this));
|
||||
//todo EssentialsX
|
||||
|
||||
// Hook into bStats metrics
|
||||
registerMetrics(METRICS_ID);
|
||||
|
||||
Reference in new issue
Block a user