mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-01 14:38:47 +00:00
Fixed sound parsing errors
This commit is contained in:
1 parent
b3136c3bd4
commit
ff2018204c
1 file changed
+3
@@ -328,6 +328,9 @@ public class FileConfig extends YamlConfiguration {
|
||||
|
||||
@NotNull
|
||||
public NightSound getSound(@NotNull String path) {
|
||||
if (this.contains(path + ".Name")) {
|
||||
return NightSound.read(this, path); // Update
|
||||
}
|
||||
return NightSound.deserialize(this.getString(path, "null"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user