Custom stats target updated

This commit is contained in:
Roch Blonndiaux 2023-03-15 14:21:39 +01:00
parent c342b4add2
commit d608b07a76

View File

@ -240,7 +240,7 @@ public class StatManager {
// Create a new stat instance
try {
ItemStat<?, ?> stat = statClass.getConstructor(String.class, Material.class, String.class, String[].class, String[].class, Material[].class)
.newInstance(statId, Material.PAPER, name, lore, new String[]{"!miscellaneous", "!block", "all"}, new Material[0]);
.newInstance(statId, Material.PAPER, name, lore, new String[]{"all"}, new Material[0]);
register(stat);
} catch (InstantiationException | IllegalAccessException | InvocationTargetException |
NoSuchMethodException e) {