Update sv_constraints.lua

This commit is contained in:
[TW]Rain_Bob 2023-10-08 17:05:28 +08:00 committed by GitHub
parent 869c03ecdb
commit b10c0712fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ end)
---- Can Tool ----
-----------------------------------------------------------------------------------------------
function GM:CanTool(ply, tr, tool)
if ply:IsSuperAdmin() then return true end
if ply:IsSuperAdmin() or ply:IsDev() then return true end
for _, tools in pairs(self:CompileToolTable()) do
if tostring(tools[1]) == tostring(tool) and tobool(tools[3]) == true then
if tr.Entity:IsWorld() then