This commit is contained in:
parent
ff50bd3851
commit
d381beff16
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user