v0.6.1b: fixed crashes involving missing ranking IDs

This commit is contained in:
Evan Debenham 2017-08-22 23:30:26 -04:00
parent 786e9cf0ea
commit 0b417a09b9

View File

@ -292,7 +292,9 @@ public enum Rankings {
armorTier = bundle.getInt( TIER );
if (bundle.contains(DATA)) gameData = bundle.getBundle(DATA);
if (bundle.contains(ID)) gameID = bundle.getString(ID);
if (bundle.contains(ID)) gameID = bundle.getString(ID);
if (gameID == null) gameID = UUID.randomUUID().toString();
depth = bundle.getInt( DEPTH );
herolevel = bundle.getInt( LEVEL );