-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
Environment:
Hello, I found an error If i get statistics from server.
p.getStatistic(Statistic.PICKUP, Material.DIRT));
Caused by: java.lang.IllegalArgumentException: The supplied Material does not ha ve a corresponding statistic at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot. jar:git-Spigot-570526c-c1b529e] at org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer.getStatistic(Craft Player.java:619) ~[spigot.jar:git-Spigot-570526c-c1b529e]
Other statistics work fine, other material in PICKUP eg. wood sword not working too.
Hello, I found an error If i get statistics from server. p .getStatistic(Statistic. PICKUP , Material. DIRT )); Caused by: java.lang.IllegalArgumentException: The supplied Material does not ha ve a corresponding statistic at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot. jar:git-Spigot-570526c-c1b529e] at org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer.getStatistic(Craft Player.java:619) ~[spigot.jar:git-Spigot-570526c-c1b529e] Other statistics work fine, other material in PICKUP eg. wood sword not working too.
Filed to get PICKUP items statistics.