Commit 8c586cae authored by S. Zeid's avatar S. Zeid

Use proper name for main config file in PlaySoundSpecCommand

parent f236d557
......@@ -109,7 +109,7 @@ public class PlaySoundSpecCommand extends BaseCommand {
}
}
List<String> searchPath = plugin.getConfig("soundspecs").getStringList("sounds.search-path");
List<String> searchPath = plugin.getConfig("config").getStringList("sounds.search-path");
SoundSpec spec = new SoundSpec(soundSpec, plugin.getConfig("sounds"), searchPath);
spec.sendSound(sendSound).sendText(sendText).playTo(playTo, playSoundArgs);
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment