mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
19 lines
440 B
Java
Executable File
19 lines
440 B
Java
Executable File
package script.npe;
|
|
|
|
import script.obj_id;
|
|
|
|
public class npe_notify_journal extends script.base_script
|
|
{
|
|
public npe_notify_journal()
|
|
{
|
|
}
|
|
public int OnReceivedItem(obj_id self, obj_id srcContainer, obj_id transferer, obj_id item) throws InterruptedException
|
|
{
|
|
if (isPlayer(item))
|
|
{
|
|
attachScript(item, "npe.trigger_journal");
|
|
}
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
}
|