Rename hook to PACCanRunConsoleCommand

This commit is contained in:
Redox 2022-11-06 19:47:13 +01:00
parent fce194fdb3
commit ccecc651d4
No known key found for this signature in database
GPG Key ID: C10A433A95068388

View File

@ -71,7 +71,7 @@ function PART:Execute()
pac.Message(tostring(self) .. ' - '.. msg)
end
else
if hook.Run("PACRunConsoleCommand", self.String) == false then return end
if hook.Run("PACCanRunConsoleCommand", self.String) == false then return end
ent:ConCommand(self.String)
end
end