Code:
import:
java.io.File
com.xxmicloxx.NoteBlockAPI.NoteBlockAPI
com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer
com.xxmicloxx.NoteBlockAPI.NBSDecoder
com.xxmicloxx.NoteBlockAPI.songplayer.RadioSongPlayer
command play:
trigger:
set {_file} to NBSDecoder.parse(new File("plugins/Songs/Africa.nbs"))
set {_song} to new RadioSongPlayer({_file})
{_song}.setAutoDestroy(true)
{_song}.addPlayer(player)
{_song}.setPlaying(true)
Code:
[19:48:49 WARN]: [Skript] No matching constructor: RadioSongPlayer#<init> called with (com.xxmicloxx.NoteBlockAPI.Song@2608f67b (Song))
any idea why?