Second map updates

This commit is contained in:
Anuken
2022-02-28 14:33:19 -05:00
parent 1a7ef3108d
commit ab4190a6b5
8 changed files with 12 additions and 11 deletions

View File

@@ -45,6 +45,9 @@ public class DesktopLauncher extends ClientLauncher{
if(Structs.contains(arg, "-gl3")){
gl30 = true;
}
if(Structs.contains(arg, "-antialias")){
samples = 16;
}
if(Structs.contains(arg, "-debug")){
Log.level = LogLevel.debug;
}
@@ -358,11 +361,4 @@ public class DesktopLauncher extends ClientLauncher{
private static void message(String message){
SDL.SDL_ShowSimpleMessageBox(SDL.SDL_MESSAGEBOX_ERROR, "oh no", message);
}
private boolean validAddress(byte[] bytes){
if(bytes == null) return false;
byte[] result = new byte[8];
System.arraycopy(bytes, 0, result, 0, bytes.length);
return !new String(Base64Coder.encode(result)).equals("AAAAAAAAAOA=") && !new String(Base64Coder.encode(result)).equals("AAAAAAAAAAA=");
}
}