Files
dsrc/sku.0/sys.server/compiled/game/script/item/special/block_open.java
T
2018-06-07 00:32:29 +01:00

20 lines
503 B
Java
Executable File

package script.item.special;
import script.obj_id;
public class block_open extends script.base_script
{
public block_open()
{
}
public int OnAboutToOpenContainer(obj_id self, obj_id who) throws InterruptedException
{
if (isGod(who))
{
sendSystemMessageTestingOnly(who, "GOD MODE: You are able to open this container because you are in God Mode!");
return SCRIPT_CONTINUE;
}
return SCRIPT_OVERRIDE;
}
}