If custom sound group not found, revert to default sound group
This commit is contained in:
		| @@ -140,7 +140,11 @@ public class SoundGroup { | |||||||
|  |  | ||||||
|     public static SoundGroup getGroup(Disguise disguise) { |     public static SoundGroup getGroup(Disguise disguise) { | ||||||
|         if (disguise.getSoundGroup() != null) { |         if (disguise.getSoundGroup() != null) { | ||||||
|             return getGroup(disguise.getSoundGroup()); |             SoundGroup dSoundGroup = getGroup(disguise.getSoundGroup()); | ||||||
|  |  | ||||||
|  |             if (dSoundGroup != null) { | ||||||
|  |                 return dSoundGroup; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         return getGroup(disguise.getType().name()); |         return getGroup(disguise.getType().name()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user