Browse Source

More parsing work

combat-2
MagicBot 9 months ago
parent
commit
91247c58a6
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -219,7 +219,7 @@ public class ItemTemplate {
weapon_attack_anim_right.add(new int[]{animation, duration}); weapon_attack_anim_right.add(new int[]{animation, duration});
} }
JSONArray attack_anim_left = (JSONArray) item_weapon.get("attack_anim_left"); JSONArray attack_anim_left = (JSONArray) item_weapon.get("weapon_attack_anim_left");
if (attack_anim_left.isEmpty() == false) if (attack_anim_left.isEmpty() == false)
for (Object o : weapon_damage) { for (Object o : weapon_damage) {

Loading…
Cancel
Save