diff options
author | SHsuperCM <shsupercm@gmail.com> | 2022-09-10 11:08:10 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2022-09-10 11:08:10 +0300 |
commit | 79b400ab8a2ea5a912404d342f53fcc8dad34dde (patch) | |
tree | 07c142a4280727272c41e2c1e3d34eb24d7f6a3f /defaults/src/main/java/shcm/shsupercm/fabric | |
parent | f82becce3a0def5652d93d35759ce333352ec6b8 (diff) | |
download | CITResewn-79b400ab8a2ea5a912404d342f53fcc8dad34dde.tar.gz CITResewn-79b400ab8a2ea5a912404d342f53fcc8dad34dde.tar.bz2 CITResewn-79b400ab8a2ea5a912404d342f53fcc8dad34dde.zip |
Fixed enchantment glint speed and rotation parity
Closes #125
Diffstat (limited to 'defaults/src/main/java/shcm/shsupercm/fabric')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java | 4 |
1 files 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)); |