From 79b400ab8a2ea5a912404d342f53fcc8dad34dde Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sat, 10 Sep 2022 11:08:10 +0300 Subject: Fixed enchantment glint speed and rotation parity Closes #125 --- .../fabric/citresewn/defaults/cit/types/TypeEnchantment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java index 0bd29e7..b27579d 100644 --- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java +++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java @@ -77,8 +77,8 @@ public class TypeEnchantment extends CITType { throw new CITParsingException("Could not parse integer", properties, layerProp.position(), e); } - this.speed = parseFloatOrDefault(1f, "speed", properties); - this.rotation = parseFloatOrDefault(10f, "rotation", properties); + this.speed = parseFloatOrDefault(0f, "speed", properties); + this.rotation = parseFloatOrDefault(0f, "rotation", properties); this.duration = Math.max(0f, parseFloatOrDefault(0f, "duration", properties)); this.r = Math.max(0f, parseFloatOrDefault(1f, "r", properties)); this.g = Math.max(0f, parseFloatOrDefault(1f, "g", properties)); -- cgit