mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
Add a quick null check
This commit is contained in:
parent
567f278131
commit
dcbcbc79f4
@ -40,6 +40,10 @@ public class SoundGroup {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
if (sound == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
disguiseSounds.put(sound, type);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user