diff --git a/src/main/java/net/dv8tion/jda/internal/managers/SoundboardSoundManagerImpl.java b/src/main/java/net/dv8tion/jda/internal/managers/SoundboardSoundManagerImpl.java index d18d87d9ae..f1fcb9ae73 100644 --- a/src/main/java/net/dv8tion/jda/internal/managers/SoundboardSoundManagerImpl.java +++ b/src/main/java/net/dv8tion/jda/internal/managers/SoundboardSoundManagerImpl.java @@ -101,6 +101,7 @@ public SoundboardSoundManagerImpl reset() @Override public SoundboardSoundManagerImpl setName(@Nonnull String name) { + Checks.notNull(name, "name"); Checks.check(name.length() >= 2 && name.length() <= 32, "Name must be between 2 and 32 characters"); this.name = name; set |= NAME;