mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Add HomeListEvent and WarpListEvent
This commit is contained in:
1 parent
fbe82a46a0
commit
5f3958bb5b
14 files changed
+310
-70
No files matched your search
@@ -147,10 +147,6 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
getLoggingAdapter().log(Level.INFO, "Successfully initialized the network messenger.");
|
||||
}
|
||||
|
||||
// Initialize the cache
|
||||
cache = new Cache();
|
||||
cache.initialize(database);
|
||||
|
||||
// Prepare the teleport manager
|
||||
this.teleportManager = new TeleportManager(this);
|
||||
|
||||
@@ -160,6 +156,10 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
||||
// Prepare the event dispatcher
|
||||
this.eventDispatcher = new BukkitEventDispatcher(this);
|
||||
|
||||
// Initialize the cache
|
||||
cache = new Cache(eventDispatcher);
|
||||
cache.initialize(database);
|
||||
|
||||
// Prepare the home and warp position manager
|
||||
this.savedPositionManager = new SavedPositionManager(database, cache, eventDispatcher,
|
||||
settings.allowUnicodeNames, settings.allowUnicodeDescriptions);
|
||||
|
||||
Reference in new issue
Block a user