oops again

This commit is contained in:
ayunami2000 2022-01-18 12:50:16 -05:00
parent d42887d253
commit eeb90a315a
3 changed files with 9170 additions and 9171 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -70,7 +70,7 @@ public class GuiScreenModules extends GuiScreen {
String name = EaglerAdapter.getFileChooserResultName(); String name = EaglerAdapter.getFileChooserResultName();
NoteblockPlayer.songdata = b; NoteblockPlayer.songdata = b;
mc.thePlayer.sendChatToPlayer("Playing \""+name+"\" on notebot!"); mc.thePlayer.sendChatToPlayer("Playing \""+name+"\" on notebot!");
NoteblockPlayer.play((name.toLowerCase().endsWith(".nbs")?NoteblockPlayer.loadSong():me.ayunami2000.ayunAudioStreamer.MidiConverter.midiToTxt()).split("\n")); NoteblockPlayer.play((name.toLowerCase().endsWith(".nbs")?NoteblockPlayer.loadSong():MidiConverter.midiToTxt()).split("\n"));
} }
} }
}); });