mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-10 01:12:58 -04:00
Initial Cleanup
This commit is contained in:
@@ -54,7 +54,7 @@ public class medikit extends script.base_script
|
||||
{
|
||||
names[idx] = "useModifier";
|
||||
int attrib = getIntObjVar(self, "medikit.quality");
|
||||
attribs[idx] = "" + attrib;
|
||||
attribs[idx] = Integer.toString(attrib);
|
||||
idx++;
|
||||
if (idx >= names.length)
|
||||
{
|
||||
@@ -197,14 +197,7 @@ public class medikit extends script.base_script
|
||||
}
|
||||
public boolean haveChargedMedTool(obj_id player, obj_id medikitTool) throws InterruptedException
|
||||
{
|
||||
if ((getCount(medikitTool) > 0) && (utils.isNestedWithin(medikitTool, player)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return (getCount(medikitTool) > 0) && (utils.isNestedWithin(medikitTool, player));
|
||||
}
|
||||
public void clearTrackingScriptVars(obj_id self) throws InterruptedException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user