[SPIGOT-1920] Broken Statistic.DROP Created: 13/Mar/16 Updated: 03/Apr/16 Resolved: 13/Mar/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | RobiRami | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.9 |
Description |
The Statistic.DROP throws an IllegalArgumentationException, with or without paramater, in Spigot 1.9, where as it didn't in Spigot 1.8 Bukkit.getPlayer("RobiRami").getStatistic(Statistic.DROP); Bukkit.getPlayer("RobiRami").getStatistic(Statistic.DROP, Material.STONE); [14:34:13 WARN]: java.lang.IllegalArgumentException: Must supply additional paramater for this statistic [14:34:13 WARN]: at org.apache.commons.lang.Validate.isTrue(Validate.java:136) [14:34:13 WARN]: at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.getStatistic(CraftPlayer.java:560) java.lang.IllegalArgumentException: The supplied Material does not have a corresponding statistic |
Comments |
Comment by RobiRami [ 03/Apr/16 ] |
This is not resolved and still happens with the latest build of Spigot 1.9.2. Please fix this. |