more RSClient refactoring

This commit is contained in:
Lucas
2019-07-08 17:46:10 +02:00
parent a32c667251
commit 112a2bcba7
87 changed files with 1384 additions and 1323 deletions

View File

@@ -15,11 +15,11 @@ public class DesktopPlatformInfoProvider implements PlatformInfoProvider {
@Export("get")
public PlatformInfo get() {
byte var1;
if (WorldMapSection3.osNameLowerCase.startsWith("win")) {
if (WorldMapSection1.osNameLowerCase.startsWith("win")) {
var1 = 1;
} else if (WorldMapSection3.osNameLowerCase.startsWith("mac")) {
} else if (WorldMapSection1.osNameLowerCase.startsWith("mac")) {
var1 = 2;
} else if (WorldMapSection3.osNameLowerCase.startsWith("linux")) {
} else if (WorldMapSection1.osNameLowerCase.startsWith("linux")) {
var1 = 3;
} else {
var1 = 4;