mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-27 16:56:48 -04:00
Added god mode checks to all QA and testing scripts.
This commit is contained in:
Regular → Executable
+3
@@ -650,6 +650,9 @@ public class ttyson_test extends script.base.remote_object_requester
|
||||
}
|
||||
public int OnAttach(obj_id self) throws InterruptedException
|
||||
{
|
||||
if (!isGod(self) || getGodLevel(self) < 50 || !isPlayer(self)) {
|
||||
detachScript(self, "test.ttyson_test");
|
||||
}
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int handleFailedStructurePackup(obj_id self, dictionary params) throws InterruptedException
|
||||
|
||||
Reference in New Issue
Block a user