Gets a double stat from lore @param item The item to check the stat on @param placeholder The placeholder to use, without percent signs @return The double stat found @throws NullPointerException if the stat was not found
(ItemStack item, String placeholder)
| 133 | * @throws NullPointerException if the stat was not found |
| 134 | */ |
| 135 | public double getDouble(ItemStack item, String placeholder) { |
| 136 | return Double.parseDouble(getStat(item, placeholder)); |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Gets a double stat from lore |