Skip to content

Commit f05cc5e

Browse files
authored
fix: NetworkedVector throwing error
1 parent bd1105d commit f05cc5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

managed/CounterStrikeSharp.API/Core/Model/NetworkedVector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public T this[int index]
2828
{
2929
get
3030
{
31-
if (IsValidType)
31+
if (!IsValidType)
3232
{
3333
throw new NotSupportedException("Networked vectors currently only support CHandle<T>, Vector, or QAngle");
3434
}

0 commit comments

Comments
 (0)