Adds a command for testing different NPC sounds
All checks were successful
KnarCraft/BlacksmithVisuals/pipeline/head This commit looks good
All checks were successful
KnarCraft/BlacksmithVisuals/pipeline/head This commit looks good
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package net.knarcraft.blacksmithvisuals;
|
||||
|
||||
import net.knarcraft.blacksmithvisuals.command.PlayTestSoundCommand;
|
||||
import net.knarcraft.blacksmithvisuals.command.ReloadCommand;
|
||||
import net.knarcraft.blacksmithvisuals.command.SetNPCPositionCommand;
|
||||
import net.knarcraft.blacksmithvisuals.listener.BlacksmithListener;
|
||||
@@ -33,7 +34,7 @@ public final class BlacksmithVisuals extends JavaPlugin {
|
||||
this.getConfig().options().copyDefaults(true);
|
||||
this.reloadConfig();
|
||||
this.saveConfig();
|
||||
|
||||
|
||||
try {
|
||||
this.configurationManager = new ConfigurationManager(this.getConfig());
|
||||
} catch (InvalidConfigurationException exception) {
|
||||
@@ -53,6 +54,7 @@ public final class BlacksmithVisuals extends JavaPlugin {
|
||||
getServer().getPluginManager().registerEvents(new BlacksmithListener(this.configurationManager), this);
|
||||
registerCommand("reload", new ReloadCommand());
|
||||
registerCommand("setNPCPosition", new SetNPCPositionCommand());
|
||||
registerCommand("playTestSound", new PlayTestSoundCommand());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user