If care about the supplier value. If supplier is null, we die anyways.
@@ -190,8 +190,7 @@ default boolean isIndefinite() {
* @return This builder
*/
default Builder type(Supplier<? extends BanType> type) {
- checkNotNull(type);
- return this.type(type.get());
+ return this.type(checkNotNull(type.get()));
}
/**
