Move into server block

This commit is contained in:
thegrb93 2022-10-28 18:28:21 -04:00 committed by GitHub
parent fe292ceaf5
commit 615e0bf827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,9 @@ function emut.MutateEntity(owner, class_name, ent, ...)
return
end
if pace.IsBanned(owner) then return end
if SERVER then
if pace.IsBanned(owner) then return end
if not override_enabled then
if owner:IsPlayer() and not emut.registered_mutators[class_name].cvar:GetBool() then
pac.Message(owner, "tried to set size when it's disabled")