mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-09-11 21:45:23 -04:00
Added god mode checks to all QA and testing scripts.
This commit is contained in:
Regular → Executable
+7
@@ -28,6 +28,13 @@ public class jwatson_test extends script.base_script
|
||||
public jwatson_test()
|
||||
{
|
||||
}
|
||||
public int OnAttach(obj_id self) throws InterruptedException
|
||||
{
|
||||
if (!isGod(self) || getGodLevel(self) < 50 || !isPlayer(self)) {
|
||||
detachScript(self, "test.jwatson_test");
|
||||
}
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
public void colorize(obj_id player, obj_id target, String customizationVar) throws InterruptedException
|
||||
{
|
||||
int pId = createSUIPage("Script.ColorPicker", player, player, "ColorizeCallback");
|
||||
|
||||
Reference in New Issue
Block a user