From a3c941deee37a4bb62b9882f76bb27582ede4a07 Mon Sep 17 00:00:00 2001 From: Astralcircle <142503363+Astralcircle@users.noreply.github.com> Date: Tue, 3 Feb 2026 01:06:24 +0300 Subject: [PATCH] Fix lua error Fixes: ```lua - addons/wire-master/lua/entities/gmod_wire_hologram.lua:389: bad argument #1 to 'checkSteamid' (string expected, got nil) 1. checkSteamid - [C]:-1 2. - addons/wire-master/lua/entities/gmod_wire_hologram.lua:389 3. - lua/includes/modules/concommand.lua:54 ``` --- lua/entities/gmod_wire_hologram.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/entities/gmod_wire_hologram.lua b/lua/entities/gmod_wire_hologram.lua index d2af680829..cf57484193 100644 --- a/lua/entities/gmod_wire_hologram.lua +++ b/lua/entities/gmod_wire_hologram.lua @@ -386,6 +386,8 @@ if CLIENT then concommand.Add("wire_holograms_unblock_client", function(ply, command, args) + if not args[1] then print("Invalid steamid") return end + local toblock = checkSteamid(args[1]) if not toblock then print("Invalid SteamId") return end if not blocked[toblock] then print("This steamid isn't blocked") return end