Update launcher to specify world 1

This commit is contained in:
ceikry 2021-06-28 16:31:48 -05:00
parent a823a0b675
commit 7149fa2b78
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ dependencies {
jar {
archiveBaseName = '2009scapeLauncher'
archiveVersion = '1.0.0'
archiveVersion = '2.1.2'
manifest {
attributes 'Main-Class': 'rs09.Launcher',
'Class-Path': configurations.runtime.files.collect { "lib/$it.name" }.join(' ')

View file

@ -41,7 +41,7 @@ public class ButtonListener implements ActionListener {
byte idx255status = Update.updateExists(1,"main_file_cache.idx255");
if (status == 0 && idx255status == 0) {
AppFrame.pbar.setString("Now Launching "+Settings.SERVER_NAME+"!");
Utils.launchClient(e.getActionCommand().equals("play1") ? 0 : 1);
Utils.launchClient(0);//e.getActionCommand().equals("play1") ? 0 : 1);
return;
} else {
System.out.println("JAR STATUS: " + status);