mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Start refactor work
This commit is contained in:
1 parent
6a8851a446
commit
3e1ec09487
51 files changed
+2397
-2474
No files matched your search
@@ -0,0 +1,34 @@
|
||||
package net.william278.huskhomes.manager;
|
||||
|
||||
import net.william278.huskhomes.HuskHomes;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class Manager {
|
||||
|
||||
private final HuskHomes plugin;
|
||||
private final HomesManager homes;
|
||||
private final WarpsManager warps;
|
||||
private final UsersManager users;
|
||||
|
||||
public Manager(@NotNull HuskHomes plugin) {
|
||||
this.plugin = plugin;
|
||||
this.homes = new HomesManager(plugin);
|
||||
this.warps = new WarpsManager(plugin);
|
||||
this.users = new UsersManager(plugin);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public HomesManager homes() {
|
||||
return homes;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public WarpsManager warps() {
|
||||
return warps;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public UsersManager users() {
|
||||
return users;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user