wiremod / advdupe2

Advanced Duplicator 2
http://wiremod.com
Apache License 2.0
90 stars 60 forks source link

Appears to ignore restrictive spawning addons (Evolve, etc) #27

Closed MattJeanes closed 9 years ago

MattJeanes commented 10 years ago

Got this:

function PLUGIN:PlayerSpawnSENT( ply, class )
    if ( GAMEMODE.IsSandboxDerived and table.HasValue( evolve.privileges, ":" .. class ) and !ply:EV_HasPrivilege( ":" .. class ) ) then
        evolve:Notify( ply, evolve.colors.red, "You are not allowed to spawn this entity!" )
        return false
    end
end

But advdupe2 seems to ignore that completely and spawn it anyway, which means people are able to bypass entity restrictions.

thegrb93 commented 9 years ago

Fixed by https://github.com/wiremod/advdupe2/pull/61