fix crash in avatar customization

This commit is contained in:
Phillip Thelen 2016-08-16 18:42:55 +02:00
parent 1aa5da182b
commit bd8df11057

View file

@ -149,6 +149,9 @@ public class AvatarCustomizationFragment extends BaseMainFragment {
private void updateActiveCustomization() {
Preferences prefs = this.user.getPreferences();
if (this.type == null) {
return;
}
switch (this.type) {
case "skin":
this.activeCustomization = prefs.getSkin();