Re-added many HuskHomes commands

This commit is contained in:
William278 committed 2020-12-13 02:17:58 +00:00
1 parent d20baa41d1
commit 1b8254d46a
34 files changed
+1485 -47

No files matched your search

@@ -4,6 +4,7 @@ import me.william278.huskhomes2.Commands.delHomeCommand;
import me.william278.huskhomes2.Commands.homeCommand;
import me.william278.huskhomes2.Commands.homeListCommand;
import me.william278.huskhomes2.Commands.setHomeCommand;
import me.william278.huskhomes2.Events.onPlayerDeath;
import me.william278.huskhomes2.Events.onPlayerJoin;
import me.william278.huskhomes2.Objects.Settings;
import org.bukkit.plugin.java.JavaPlugin;
@@ -33,6 +34,7 @@ public final class Main extends JavaPlugin {
private static void registerEvents(Main plugin) {
plugin.getServer().getPluginManager().registerEvents(new onPlayerJoin(), plugin);
plugin.getServer().getPluginManager().registerEvents(new onPlayerDeath(), plugin);
}
@Override
@@ -43,6 +45,9 @@ public final class Main extends JavaPlugin {
// Set instance for easy cross-class referencing
setInstance(this);
// Check if HuskHomes is up-to-date
getLogger().info(versionChecker.getVersionCheckString());
// Load the config
configManager.loadConfig();