File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Common/src/main/java/net/darkhax/bookshelf/api/registry Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ public RegistryDataProvider(String ownerId) {
5959 this .ownerId = ownerId ;
6060 }
6161
62- public final RegistryDataProvider withCreativeTab (Supplier <ItemLike > iconProvider ) {
62+ public final RegistryDataProvider withCreativeTab (Supplier <? extends ItemLike > iconProvider ) {
6363
6464 return this .withCreativeTab (iconProvider , "creative_tab" );
6565 }
6666
67- public final RegistryDataProvider withCreativeTab (Supplier <ItemLike > iconProvider , String id ) {
67+ public final RegistryDataProvider withCreativeTab (Supplier <? extends ItemLike > iconProvider , String id ) {
6868
6969 return this .withCreativeTab (Services .CREATIVE_TABS .createBuilder (this .ownerId , id ).setIcon (iconProvider ).build ());
7070 }
You can’t perform that action at this time.
0 commit comments