mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 01:50:50 +01:00
Fix RedeemableSubscriptionType NullPointer
This commit is contained in:
parent
7bf798fed4
commit
fc02123bd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user