diff --git a/managed/CounterStrikeSharp.API/Core/Model/NetworkedVector.cs b/managed/CounterStrikeSharp.API/Core/Model/NetworkedVector.cs index e4ddf0aa..43d391ae 100644 --- a/managed/CounterStrikeSharp.API/Core/Model/NetworkedVector.cs +++ b/managed/CounterStrikeSharp.API/Core/Model/NetworkedVector.cs @@ -28,7 +28,7 @@ public T this[int index] { get { - if (IsValidType) + if (!IsValidType) { throw new NotSupportedException("Networked vectors currently only support CHandle, Vector, or QAngle"); }