mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 00:15:15 -06:00
Renamed some If1 variables in Component
This commit is contained in:
parent
4c73508f1f
commit
abbfd5c047
8 changed files with 214 additions and 210 deletions
|
|
@ -1129,7 +1129,7 @@ public final class client extends GameShell {
|
|||
if (prioritySource.createdComponentId < 0) {
|
||||
break;
|
||||
}
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
|
||||
} while (priorityComponent == null || priorityComponent.createdComponents == null || priorityComponent.createdComponents.length <= prioritySource.createdComponentId || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
|
||||
ScriptRunner.run(priorityRequest);
|
||||
}
|
||||
|
|
@ -1138,7 +1138,7 @@ public final class client extends GameShell {
|
|||
if (prioritySource.createdComponentId < 0) {
|
||||
break;
|
||||
}
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
|
||||
} while (priorityComponent == null || priorityComponent.createdComponents == null || prioritySource.createdComponentId >= priorityComponent.createdComponents.length || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
|
||||
ScriptRunner.run(priorityRequest);
|
||||
}
|
||||
|
|
@ -1147,7 +1147,7 @@ public final class client extends GameShell {
|
|||
if (prioritySource.createdComponentId < 0) {
|
||||
break;
|
||||
}
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
|
||||
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
|
||||
} while (priorityComponent == null || priorityComponent.createdComponents == null || priorityComponent.createdComponents.length <= prioritySource.createdComponentId || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
|
||||
ScriptRunner.run(priorityRequest);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue