mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
Prevent players from mutating entities if they're pac banned (#1245)
This commit is contained in:
parent
df95ee286e
commit
b4f3803728
@ -65,6 +65,8 @@ function emut.MutateEntity(owner, class_name, ent, ...)
|
||||
return
|
||||
end
|
||||
|
||||
if pace.IsBanned(owner) then return end
|
||||
|
||||
if SERVER then
|
||||
if not override_enabled then
|
||||
if owner:IsPlayer() and not emut.registered_mutators[class_name].cvar:GetBool() then
|
||||
|
Loading…
Reference in New Issue
Block a user