Namespace Statistics
SorceryCraft/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-03-23 15:13:17 -04:00
parent ff50bd3851
commit d381beff16
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class SorceryCraft implements ModInitializer {
private Identifier registerStat(String name) {
Identifier statID = new Identifier(NAMESPACE, name);
Registry.register(Registry.CUSTOM_STAT, name, statID);
Registry.register(Registry.CUSTOM_STAT, statID, statID);
Stats.CUSTOM.getOrCreateStat(statID, StatFormatter.DEFAULT);
return statID;
}