File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
src/main/resources/forge-1.19.2/templates/elementinits Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 11<#--
22 # MCreator (https://mcreator.net/)
33 # Copyright (C) 2012-2020, Pylo
4- # Copyright (C) 2020-2022 , Pylo, opensource contributors
4+ # Copyright (C) 2020-2023 , Pylo, opensource contributors
55 #
66 # This program is free software: you can redistribute it and/or modify
77 # it under the terms of the GNU General Public License as published by
@@ -40,12 +40,7 @@ package ${package}.init;
4040
4141 <#list features as feature >
4242 public static final RegistryObject<Feature <? >> ${feature.getModElement().getRegistryNameUpper()} =
43- REGISTRY.register("${feature.getModElement().getRegistryName()} ",
44- <#if feature.getModElement().getTypeString() == "feature" >
45- ${feature.getModElement().getName()} Feature::new
46- <#else >
47- ${feature.getModElement().getName()} Feature::feature
48- </#if >);
43+ REGISTRY.register("${feature.getModElement().getRegistryName()} ", ${feature.getModElement().getName()} Feature::new);
4944 </#list >
5045}
51- <#-- @formatter:on -->
46+ <#-- @formatter:on -->
You can’t perform that action at this time.
0 commit comments