Fix RedeemableSubscriptionType NullPointer

This commit is contained in:
Alejandro 2019-05-16 21:01:11 +03:00
parent 7bf798fed4
commit fc02123bd1

View File

@ -12,6 +12,8 @@ public enum RedeemableSubscriptionType {
}
public static RedeemableSubscriptionType fromString(String subscriptionType) {
if (subscriptionType == null) return null;
switch (subscriptionType) {
case "hc":
return HABBO_CLUB;