mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
Update launcher to specify world 1
This commit is contained in:
parent
a823a0b675
commit
7149fa2b78
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ dependencies {
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveBaseName = '2009scapeLauncher'
|
archiveBaseName = '2009scapeLauncher'
|
||||||
archiveVersion = '1.0.0'
|
archiveVersion = '2.1.2'
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'rs09.Launcher',
|
attributes 'Main-Class': 'rs09.Launcher',
|
||||||
'Class-Path': configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
|
'Class-Path': configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ public class ButtonListener implements ActionListener {
|
||||||
byte idx255status = Update.updateExists(1,"main_file_cache.idx255");
|
byte idx255status = Update.updateExists(1,"main_file_cache.idx255");
|
||||||
if (status == 0 && idx255status == 0) {
|
if (status == 0 && idx255status == 0) {
|
||||||
AppFrame.pbar.setString("Now Launching "+Settings.SERVER_NAME+"!");
|
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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
System.out.println("JAR STATUS: " + status);
|
System.out.println("JAR STATUS: " + status);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue