mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
20 lines
493 B
Java
Executable File
20 lines
493 B
Java
Executable File
package script.systems.gcw;
|
|
|
|
import script.library.force_rank;
|
|
import script.obj_id;
|
|
|
|
public class enclave_cell extends script.base_script
|
|
{
|
|
public enclave_cell()
|
|
{
|
|
}
|
|
public int OnAboutToReceiveItem(obj_id self, obj_id srcContainer, obj_id transferer, obj_id item) throws InterruptedException
|
|
{
|
|
if (force_rank.checkCellPermission(item, self, false))
|
|
{
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
return SCRIPT_OVERRIDE;
|
|
}
|
|
}
|