Update sv_lib.lua

This commit is contained in:
Malboro 2020-07-08 11:07:24 +02:00 committed by GitHub
parent 3810d8833a
commit b405d80c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ function PermaProps.PPEntityFromTable( data, id )
// For all idiots who don't know how to config FPP, FUCK YOU
function ent:CanTool( ply, trace, tool )
if trace && IsValid(trace.Entity) and trace.Entity.PermaProps then
if trace and IsValid(trace.Entity) and trace.Entity.PermaProps then
if tool == "permaprops" then