Badges shouldn't appear in the creative inventory

This commit is contained in:
Sollace 2023-05-25 10:30:13 +01:00
parent 7713f461e7
commit 5e74b81af1

View file

@ -162,7 +162,7 @@ public interface UItems {
}
static Item register(Race race) {
return register(race.getId().withPath(p -> p + "_badge"), new Item(new Settings()));
return Registry.register(Registries.ITEM, race.getId().withPath(p -> p + "_badge"), new Item(new Settings()));
}
static void bootstrap() {