Skip to content

Commit

Permalink
BugFix - Dimension lighter still generate its RegistryObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Spectrall368 authored Jun 9, 2023
1 parent 37ec93f commit 466a13c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class ${JavaModName}Items {
public static final RegistryObject<Item> ${item.getModElement().getRegistryNameUpper()}_BOOTS =
REGISTRY.register("${item.getModElement().getRegistryName()}_boots", () -> new ${item.getModElement().getName()}Item.Boots());
</#if>
<#elseif item.getModElement().getTypeString() == "dimension" && item.enableIgniter>
<#elseif item.getModElement().getTypeString() == "dimension" && item.hasIgniter()>
public static final RegistryObject<Item> ${item.getModElement().getRegistryNameUpper()} =
REGISTRY.register("${item.getModElement().getRegistryName()}", () -> new ${item.getModElement().getName()}Item());
<#elseif item.getModElement().getTypeString() == "fluid" && item.generateBucket>
Expand Down

0 comments on commit 466a13c

Please sign in to comment.