forked from MagicBane/Server
Parsing cleanup
This commit is contained in:
@@ -131,6 +131,8 @@ public class ItemTemplate {
|
|||||||
|
|
||||||
item_parry_anim_id = ((Long) jsonObject.get("item_parry_anim_id")).intValue();
|
item_parry_anim_id = ((Long) jsonObject.get("item_parry_anim_id")).intValue();
|
||||||
|
|
||||||
|
// Item Type == ARMOR?
|
||||||
|
|
||||||
if (jsonObject.containsValue("item_bulk_factor"))
|
if (jsonObject.containsValue("item_bulk_factor"))
|
||||||
item_bulk_factor = ((Double) jsonObject.get("item_bulk_factor")).floatValue();
|
item_bulk_factor = ((Double) jsonObject.get("item_bulk_factor")).floatValue();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user