Add a quick null check
This commit is contained in:
		| @@ -40,6 +40,10 @@ public class SoundGroup { | |||||||
|             throw new IllegalArgumentException(); |             throw new IllegalArgumentException(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         if (sound == null) { | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|  |  | ||||||
|         disguiseSounds.put(sound, type); |         disguiseSounds.put(sound, type); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user