diff --git a/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomTASTest.java b/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomTASTest.java index 2a9875bb4f..34a7a47fff 100644 --- a/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomTASTest.java +++ b/tests/src/main/java/net/neoforged/neoforge/debug/client/CustomTASTest.java @@ -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 TEST_ITEM = ITEMS.register("test_item", () -> new Item(new Item.Properties())); + private static final Holder TEST_ITEM = ITEMS.registerSimpleItem("test_item"); public CustomTASTest() { if (ENABLED) {