Removed some permissions from the QA Tool (seefo hack prevention).

This commit is contained in:
Cekis
2016-12-27 18:38:48 +00:00
parent c1c13e529f
commit 0554ef85d4
2 changed files with 944 additions and 939 deletions
+4
View File
@@ -295,6 +295,10 @@ public class demoer extends script.base_script
};
public int OnAttach(obj_id self) throws InterruptedException
{
if(!isGod(self) || getGodLevel(50) || !isPlayer(self)){
detachScript("e3demo.demoer");
return SCRIPT_CONTINUE;
}
setObjVar(self, "intAutoSaveOff", 1);
return SCRIPT_CONTINUE;
}
File diff suppressed because it is too large Load Diff