diff --git a/libsecondlife/AgentManager.cs b/libsecondlife/AgentManager.cs index b4875d13..162b8388 100644 --- a/libsecondlife/AgentManager.cs +++ b/libsecondlife/AgentManager.cs @@ -1567,7 +1567,7 @@ namespace libsecondlife effect.Effect = new ViewerEffectPacket.EffectBlock[1]; effect.Effect[0] = new ViewerEffectPacket.EffectBlock(); effect.Effect[0].AgentID = Client.Self.AgentID; - effect.Effect[0].Color = color.GetFloatBytes(); + effect.Effect[0].Color = color.GetBytes(); effect.Effect[0].Duration = duration; effect.Effect[0].ID = effectID; effect.Effect[0].Type = (byte)EffectType.Beam;