mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-10 21:40:13 +05:00
Fix mistake I made whilst copying my changes into the PR
This commit is contained in:
@@ -66,7 +66,7 @@ public class CreateCommand extends SubCommand {
|
||||
File getDirectory = new File(CustomDiscs.getInstance().getDataFolder(), "musicdata");
|
||||
File songFile = new File(getDirectory.getPath(), filename);
|
||||
if (songFile.exists()) {
|
||||
if (getFileExtension(filename).equals("wav") || getFileExtension(filename).equals("mp3"), getFileExtension(filename).equals("flac")) {
|
||||
if (getFileExtension(filename).equals("wav") || getFileExtension(filename).equals("mp3") || getFileExtension(filename).equals("flac")) {
|
||||
songname = args[1];
|
||||
} else {
|
||||
player.sendMessage(ChatColor.RED + "File is not in wav, flac, or mp3 format!");
|
||||
|
||||
Reference in New Issue
Block a user