Changed UUID generation slightly

This commit is contained in:
Anuken
2018-04-15 16:04:22 -04:00
parent 02ab945ab8
commit 68593acf89
2 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,8 @@ public class AndroidLauncher extends AndroidApplication{
+ Character.digit(s.charAt(i + 1), 16)); + Character.digit(s.charAt(i + 1), 16));
} }
if(new String(Base64Coder.encode(data)).equals("AAAAAAAAAOA=")) throw new RuntimeException("Bad UUID.");
return data; return data;
}catch (Exception e){ }catch (Exception e){
Settings.defaults("uuid", ""); Settings.defaults("uuid", "");

View File

@@ -1,7 +1,7 @@
#Autogenerated file. Do not modify. #Autogenerated file. Do not modify.
#Sat Apr 14 21:55:24 EDT 2018 #Sun Apr 15 15:52:41 EDT 2018
version=release version=release
androidBuildCode=514 androidBuildCode=516
name=Mindustry name=Mindustry
code=3.5 code=3.5
build=custom build build=custom build