maybe patch the sus

This commit is contained in:
Chayapak 2023-04-16 09:54:32 +07:00
parent 44764e4e3f
commit f1492a7a1b

View file

@ -114,6 +114,9 @@ public class MusicCommand implements Command {
if (path.toString().contains("http")) player.loadSong(new URL(_path));
else {
// among us protection!!!11
if (!path.normalize().startsWith(root.toString())) return Component.text("no").color(NamedTextColor.RED);
// ignore my ohio code for autocomplete
final String separator = File.separator;