mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-16 07:13:29 -04:00
Removed some permissions from the QA Tool (seefo hack prevention).
This commit is contained in:
Regular → Executable
+4
@@ -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
Reference in New Issue
Block a user