@@ -101,16 +101,16 @@ protected boolean set(EntityAreaEffectCloud dataHolder, Map<Key<?>, Object> keyV
101101 final HashMap <Key <?>, Object > map = new HashMap <>();
102102 map .put (Keys .AREA_EFFECT_CLOUD_AGE , dataHolder .ticksExisted );
103103 map .put (Keys .AREA_EFFECT_CLOUD_COLOR , Color .ofRgb (dataHolder .getColor ()));
104- map .put (Keys .AREA_EFFECT_CLOUD_RADIUS , dataHolder .getRadius ());
104+ map .put (Keys .AREA_EFFECT_CLOUD_RADIUS , ( double ) dataHolder .getRadius ());
105105 final EntityAreaEffectCloudAccessor mixinAreaEffect = (EntityAreaEffectCloudAccessor ) dataHolder ;
106106 final List <net .minecraft .potion .PotionEffect > potionEffects = mixinAreaEffect .getPotionEffects ();
107107 final List <PotionEffect > effects = new ArrayList <>(potionEffects .size ());
108108 for (net .minecraft .potion .PotionEffect potionEffect : potionEffects ) {
109109 effects .add ((PotionEffect ) potionEffect );
110110 }
111111 map .put (Keys .POTION_EFFECTS , effects );
112- map .put (Keys .AREA_EFFECT_CLOUD_RADIUS_ON_USE , mixinAreaEffect .getRadiusOnUse ());
113- map .put (Keys .AREA_EFFECT_CLOUD_RADIUS_PER_TICK , mixinAreaEffect .getRadiusPerTick ());
112+ map .put (Keys .AREA_EFFECT_CLOUD_RADIUS_ON_USE , ( double ) mixinAreaEffect .getRadiusOnUse ());
113+ map .put (Keys .AREA_EFFECT_CLOUD_RADIUS_PER_TICK , ( double ) mixinAreaEffect .getRadiusPerTick ());
114114 map .put (Keys .AREA_EFFECT_CLOUD_DURATION , dataHolder .getDuration ());
115115 map .put (Keys .AREA_EFFECT_CLOUD_DURATION_ON_USE , mixinAreaEffect .getDurationOnUse ());
116116 map .put (Keys .AREA_EFFECT_CLOUD_REAPPLICATION_DELAY , mixinAreaEffect .getReapplicationDelay ());
0 commit comments