mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
Rename hook to PACCanRunConsoleCommand
This commit is contained in:
parent
fce194fdb3
commit
ccecc651d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user