Fixing issues
This commit is contained in:
parent
9090b473cb
commit
f3ccf080ea
5 changed files with 2 additions and 20 deletions
|
@ -4,9 +4,7 @@ import me.night.nullvalkyrie.chests.MenuListener;
|
|||
import me.night.nullvalkyrie.discord.DiscordClientManager;
|
||||
import me.night.nullvalkyrie.enchantments.EnchantmentManager;
|
||||
import me.night.nullvalkyrie.events.CustomItemEvents;
|
||||
//import me.night.nullvalkyrie.hardpoint.GameEvent;
|
||||
import me.night.nullvalkyrie.events.DamageEffect;
|
||||
import me.night.nullvalkyrie.hardpoint.ConfigManager;
|
||||
import me.night.nullvalkyrie.items.CustomItemManager;
|
||||
import me.night.nullvalkyrie.npc.ClickNPC;
|
||||
import me.night.nullvalkyrie.npc.NPC;
|
||||
|
@ -39,7 +37,6 @@ public final class Main extends JavaPlugin implements Listener {
|
|||
EnchantmentManager.register();
|
||||
new CustomItemManager(this);
|
||||
new FileManager();
|
||||
|
||||
new CommandManager(this).register();
|
||||
bossbar = Bukkit.createBossBar(ChatColor.GOLD + "Kuudra", BarColor.RED, BarStyle.SEGMENTED_12);
|
||||
Bukkit.getPluginManager().registerEvents(this, this);
|
||||
|
@ -51,7 +48,6 @@ public final class Main extends JavaPlugin implements Listener {
|
|||
//Bukkit.getPluginManager().registerEvents(new GameEvent(this), this);
|
||||
new DiscordClientManager();
|
||||
new DatabaseManager();
|
||||
ConfigManager.setConfig();
|
||||
NPC.loadNPC(CustomItemManager.loadConfig("npcs.yml"));
|
||||
this.injector = new PacketInjector();
|
||||
}
|
||||
|
|
|
@ -37,4 +37,6 @@ public class RightClickNPC extends Event implements Cancellable {
|
|||
public HandlerList getHandlers() {
|
||||
return HANDLERS;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() { return HANDLERS; }
|
||||
}
|
||||
|
|
|
@ -5,6 +5,5 @@ import static me.night.nullvalkyrie.items.CustomItemManager.updateYamlFilesToPlu
|
|||
public class FileManager {
|
||||
public FileManager() {
|
||||
updateYamlFilesToPlugin("shop.yml");
|
||||
updateYamlFilesToPlugin("hardpoint.yml");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
'0':
|
||||
name: Sussy
|
||||
material: ENDER_CHEST
|
||||
level: 10
|
||||
rate: 0.7
|
||||
enabled: true
|
||||
last-claim: 1668206939600
|
||||
'1':
|
||||
name: Sussy
|
||||
material: ENDER_CHEST
|
||||
level: 10
|
||||
rate: 0.7
|
||||
enabled: true
|
||||
last-claim: 1668208245832
|
|
@ -1 +0,0 @@
|
|||
data:
|
Loading…
Reference in a new issue