@@ -442,7 +442,7 @@ public static void initCreativeItems() {
442
442
throw new IllegalStateException ("Implementation of " + definition .getIdentifier () + " does not implement CustomItem" );
443
443
}
444
444
445
- addCreativeItem (item , definition .getCreativeCategory (), definition .getCreativeGroup () == null ? "" : definition .getCreativeGroup ());
445
+ Item . CREATIVE_ITEMS . add (item , definition .getCreativeCategory (), definition .getCreativeGroup () == null ? "" : definition .getCreativeGroup ());
446
446
} catch (Exception e ) {
447
447
throw new RuntimeException (e );
448
448
}
@@ -465,12 +465,7 @@ public static ArrayList<Item> getCreativeItems() {
465
465
}
466
466
467
467
public static void addCreativeItem (Item item ) {
468
- addCreativeItem (item , ItemDefinition .CreativeCategory .ALL , "" );
469
- }
470
-
471
- private static void addCreativeItem (Item item , ItemDefinition .CreativeCategory category , String group ) {
472
- Item .CREATIVE_ITEMS .add (item .clone (), category , group );
473
-
468
+ Item .CREATIVE_ITEMS .add (item .clone ());
474
469
}
475
470
476
471
public static void removeCreativeItem (Item item ) {
@@ -1394,7 +1389,7 @@ public void clear() {
1394
1389
}
1395
1390
1396
1391
public void add (Item item ) {
1397
- add (item , ItemDefinition .CreativeCategory .ALL , "" ); // TODO: vanilla items back to correct groups
1392
+ add (item , ItemDefinition .CreativeCategory .ITEMS , "" ); // TODO: vanilla items back to correct categories & groups
1398
1393
}
1399
1394
1400
1395
public void add (Item item , CreativeItemGroup group ) {
0 commit comments