mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-01 01:15:59 -04:00
Added exclusion for entry to quest bunker if in God Mode.
This commit is contained in:
sku.0/sys.server/compiled/game/script/theme_park/corellia/content/kor_vella_ryll_smuggler_block.java
Regular → Executable
+3
-9
@@ -1,14 +1,8 @@
|
||||
package script.theme_park.corellia.content;
|
||||
|
||||
import script.*;
|
||||
import script.base_class.*;
|
||||
import script.combat_engine.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.Hashtable;
|
||||
import java.util.Vector;
|
||||
import script.base_script;
|
||||
|
||||
import script.library.groundquests;
|
||||
import script.obj_id;
|
||||
import script.string_id;
|
||||
|
||||
public class kor_vella_ryll_smuggler_block extends script.base_script
|
||||
{
|
||||
@@ -17,7 +11,7 @@ public class kor_vella_ryll_smuggler_block extends script.base_script
|
||||
}
|
||||
public int OnAboutToReceiveItem(obj_id self, obj_id destinationCell, obj_id transferrer, obj_id item) throws InterruptedException
|
||||
{
|
||||
if (!isPlayer(item))
|
||||
if (!isPlayer(item) || isGod(item))
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user