Browse Source

Fleshing out constructor

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

2
src/engine/objects/ItemTemplate.java

@ -30,7 +30,7 @@ public class ItemTemplate {
obj_name = (String) jsonObject.get("obj_name"); obj_name = (String) jsonObject.get("obj_name");
JSONArray scaleData = (JSONArray) jsonObject.get("obj_scale"); JSONArray scaleData = (JSONArray) jsonObject.get("obj_scale");
Float tempValue = ((Float) scaleData.get(0)); Float tempValue = (Float) scaleData.get(0);
// obj_scale = new Vector3fImmutable((Float) scaleData.get(0), (Float) scaleData.get(0), // obj_scale = new Vector3fImmutable((Float) scaleData.get(0), (Float) scaleData.get(0),
// (Float) scaleData.get(2)); // (Float) scaleData.get(2));

Loading…
Cancel
Save