Skip to content

Commit

Permalink
Removed ?replace("Blocks.", "") for the fuel element
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldorion committed Jun 13, 2020
1 parent c47556a commit 2c969a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fabric-1.15.2/templates/fuel.java.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ${package}.fuel;
public class ${name}Fuel {

public static void initialize() {
FuelRegistry.INSTANCE.add(${mappedMCItemToItem(data.block)?replace("Blocks.", "")}, ${data.power});
FuelRegistry.INSTANCE.add(${mappedMCItemToItem(data.block)}, ${data.power});
}

}
Expand Down

0 comments on commit 2c969a8

Please sign in to comment.