Returns the name of the Default Spell Book, or null if there is no default spell book. @return default spellbook
()
| 214 | * @return default spellbook |
| 215 | */ |
| 216 | public static String getDefaultSpellBook() |
| 217 | { |
| 218 | GameMode game = SettingsHandler.getGameAsProperty().get(); |
| 219 | if (game != null) |
| 220 | { |
| 221 | return game.getDefaultSpellBook(); |
| 222 | } |
| 223 | |
| 224 | return null; |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Get equipment slot by name |