mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-10-17 07:03:10 -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