Add a quick null check

This commit is contained in:
libraryaddict 2020-05-24 01:45:13 +12:00
parent 567f278131
commit dcbcbc79f4
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -40,6 +40,10 @@ public class SoundGroup {
throw new IllegalArgumentException();
}
if (sound == null) {
return;
}
disguiseSounds.put(sound, type);
}