root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/model/templates/item/ItemTemplate.java
| 2315 | 2440 | ||
|---|---|---|---|
318 | @Override | 318 | @Override |
319 | public int getNameId() | 319 | public int getNameId() |
320 | { | 320 | { |
321 | return Integer.parseInt(description); | 321 | try |
322 | { | ||
323 | int val = Integer.parseInt(description); | ||
324 | return val; | ||
325 | } | ||
326 | catch(NumberFormatException nfe) | ||
327 | { | ||
328 | return 0; | ||
329 | } | ||
322 | } | 330 | } |
323 | 331 | ||
324 | /** | 332 | /** |
Download diff