mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-29 15:12:58 -04:00
Added God Mode Bypass for Entering Cell
This commit is contained in:
@@ -5,6 +5,9 @@ trigger OnAboutToReceiveItem(obj_id srcContainer, obj_id transferer, obj_id item
|
||||
if ( !isPlayer( item ) )
|
||||
return SCRIPT_CONTINUE;
|
||||
|
||||
if ( isGod( item ) )
|
||||
return SCRIPT_CONTINUE;
|
||||
|
||||
if ( !cellUnlocked( self ) )
|
||||
{
|
||||
permissionsMakePrivate( getCellId( getTopMostContainer(self), "smallroom47") );
|
||||
|
||||
Reference in New Issue
Block a user