Skip to content

Commit

Permalink
Use simple item helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Minecraftschurli committed Nov 28, 2023
1 parent 29f9cfb commit 9eb5980
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class CustomTASTest {
private static final boolean ENABLED = true;
static final String MOD_ID = "custom_tas_test";
private static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(MOD_ID);
private static final Holder<Item> TEST_ITEM = ITEMS.register("test_item", () -> new Item(new Item.Properties()));
private static final Holder<Item> TEST_ITEM = ITEMS.registerSimpleItem("test_item");

public CustomTASTest() {
if (ENABLED) {
Expand Down

0 comments on commit 9eb5980

Please sign in to comment.