(final String line)
| 2284 | } |
| 2285 | |
| 2286 | private void parseCharacterTypeLine(final String line) |
| 2287 | { |
| 2288 | final StringTokenizer stok = new StringTokenizer(line.substring(IOConstants.TAG_CHARACTERTYPE.length() + 1), |
| 2289 | IOConstants.TAG_END, false); |
| 2290 | |
| 2291 | String characterType = stok.nextToken(); |
| 2292 | if (!SettingsHandler.getGameAsProperty().get().getCharacterTypeList().contains(characterType)) |
| 2293 | { |
| 2294 | String wantedType = characterType; |
| 2295 | characterType = SettingsHandler.getGameAsProperty().get().getDefaultCharacterType(); |
| 2296 | final String message = "Character type " + wantedType + " not found. Using " + characterType; //$NON-NLS-1$ |
| 2297 | warnings.add(message); |
| 2298 | } |
| 2299 | ChannelUtilities.setControlledChannel(thePC.getCharID(), |
| 2300 | CControl.CHARACTERTYPE, characterType); |
| 2301 | } |
| 2302 | |
| 2303 | private void parsePreviewSheetLine(final String line) |
| 2304 | { |
no test coverage detected