From 8e60e881fce1c01b4a423e6848652efbaa981fd0 Mon Sep 17 00:00:00 2001 From: Joshua Piper <32164094+JoshPiper@users.noreply.github.com> Date: Fri, 25 Jun 2021 18:31:19 +0100 Subject: [PATCH] fix: Fix my inability to spell. --- lua/ulib/shared/player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/ulib/shared/player.lua b/lua/ulib/shared/player.lua index 4dcbc65..471cc1c 100644 --- a/lua/ulib/shared/player.lua +++ b/lua/ulib/shared/player.lua @@ -203,7 +203,7 @@ function ULib.getUsers( target, enable_keywords, ply ) end end elseif piece:sub( 1, 1 ) == "@" then - if #peice == 1 then + if #piece == 1 then if IsValid( ply ) then local player = ULib.getPicker( ply ) if player then @@ -211,7 +211,7 @@ function ULib.getUsers( target, enable_keywords, ply ) end end else - local teamNameOrId = peice:sub( 2 ) + local teamNameOrId = piece:sub( 2 ) local teamId = tonumber( teamNameOrId ) if teamId then