mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-12 23:45:12 -04:00
Added god mode checks to all QA and testing scripts.
This commit is contained in:
Regular → Executable
+7
@@ -39,6 +39,13 @@ public class mjensen_test extends script.base_script
|
||||
public mjensen_test()
|
||||
{
|
||||
}
|
||||
public int OnAttach(obj_id self) throws InterruptedException
|
||||
{
|
||||
if (!isGod(self) || getGodLevel(self) < 50 || !isPlayer(self)) {
|
||||
detachScript(self, "test.mjensen_test");
|
||||
}
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public int OnSpeaking(obj_id self, String text) throws InterruptedException
|
||||
{
|
||||
java.util.StringTokenizer tok = new java.util.StringTokenizer(text);
|
||||
|
||||
Reference in New Issue
Block a user