mirror of
https://github.com/Mista-Tea/improved-stacker.git
synced 2025-03-04 03:12:57 -05:00
Checking URS compatibility by removing PLAYER:CheckLimit()
This commit is contained in:
parent
392ff9201e
commit
09d6d7d126
@ -677,7 +677,7 @@ function TOOL:LeftClick( tr, isRightClick )
|
||||
local stackerEntsSpawned = self:GetNumberPlayerEnts()
|
||||
if ( maxPerPlayer >= 0 and stackerEntsSpawned >= maxPerPlayer ) then self:SendError( ("%s (%s)"):format(L(prefix.."error_max_per_player", localify.GetLocale( self:GetOwner() )), maxPerPlayer) ) break end
|
||||
-- check if the player has exceeded the sbox_maxprops cvar
|
||||
if ( not self:GetSWEP():CheckLimit( "props" ) ) then break end
|
||||
--if ( not self:GetSWEP():CheckLimit( "props" ) ) then break end
|
||||
-- check if external admin mods are blocking this entity
|
||||
if ( hook.Run( "PlayerSpawnProp", ply, entMod ) == false ) then break end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user