From 551418c2931340ee63960624abb641d71226d532 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Feb 2024 11:58:39 -0500 Subject: [PATCH] Fleshing out constructor --- src/engine/objects/ItemTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 51384d0f..e3ee5beb 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -30,7 +30,7 @@ public class ItemTemplate { obj_name = (String) jsonObject.get("obj_name"); 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), // (Float) scaleData.get(2));