mirror of
https://github.com/CFC-Servers/cfc_spawn_protection.git
synced 2025-03-04 03:13:14 -05:00
Remove print
This commit is contained in:
parent
5e3689795d
commit
83cd92ca63
@ -170,7 +170,7 @@ local function spawnProtectionWeaponChangeCheck( player, oldWeapon, newWeapon)
|
||||
if weaponIsAllowed( newWeapon ) then return end
|
||||
|
||||
local lastSpawnTime = player:GetNWInt( "lastSpawnTime", CurTime() - spawnProtectionWeaponGracePeriod )
|
||||
if lastSpawnTime >= CurTime() - spawnProtectionWeaponGracePeriod then player:ChatPrint("Ignoring no-weapon rule during spawn");return end
|
||||
if lastSpawnTime >= CurTime() - spawnProtectionWeaponGracePeriod then return end
|
||||
|
||||
removeSpawnProtection( player )
|
||||
setPlayerVisible( player )
|
||||
|
Loading…
Reference in New Issue
Block a user