Fixed leftover villagerUI stuff
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package com.alttd;
|
||||
|
||||
import com.alttd.commands.CommandManager;
|
||||
import com.alttd.config.Config;
|
||||
import com.alttd.config.DatabaseConfig;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class AltitudeParticles extends JavaPlugin {
|
||||
@@ -17,6 +20,9 @@ public class AltitudeParticles extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
Config.reload();
|
||||
DatabaseConfig.reload();
|
||||
new CommandManager();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public abstract class SubCommand {
|
||||
public abstract String getName();
|
||||
|
||||
public String getPermission() {
|
||||
return "villagerui." + getName();
|
||||
return "apart." + getName();
|
||||
}
|
||||
|
||||
public abstract List<String> getTabComplete(CommandSender commandSender, String[] args);
|
||||
|
||||
@@ -35,7 +35,7 @@ public class CommandHelp extends SubCommand {
|
||||
|
||||
@Override
|
||||
public String getPermission() {
|
||||
return "villagerui.use";
|
||||
return "apart.use";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -7,7 +7,7 @@ public final class Config extends AbstractConfig {
|
||||
static Config config;
|
||||
static int version;
|
||||
public Config() {
|
||||
super(new File(System.getProperty("user.home") + File.separator + "share" + File.separator + "configs" + File.separator + "VillagerShopUI"), "config.yml");
|
||||
super(new File(System.getProperty("user.home") + File.separator + "share" + File.separator + "configs" + File.separator + "AltitudeParticles"), "config.yml");
|
||||
}
|
||||
|
||||
public static void reload() {
|
||||
|
||||
Reference in New Issue
Block a user