[SPIGOT-2737] getStatistic PICKUP error Created: 14/Oct/16 Updated: 22/Oct/16 Resolved: 22/Oct/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | MrFiliper | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 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. |
Description |
Filed to get PICKUP items statistics. |