checkstyle - extended-mixins
This commit is contained in:
@@ -185,8 +185,8 @@ public class Client
|
||||
List list = new java.util.ArrayList();
|
||||
RSNode head = getProjectilesDeque().getHead();
|
||||
for (Node node = ((Node) head).getNext();
|
||||
node != head;
|
||||
node = node.getNext())
|
||||
node != head;
|
||||
node = node.getNext())
|
||||
{
|
||||
list.add(node);
|
||||
}
|
||||
@@ -254,12 +254,12 @@ public class Client
|
||||
return;
|
||||
}
|
||||
net.runelite.api.events.MenuEntryAdded menuEntryAdded =
|
||||
new net.runelite.api.events.MenuEntryAdded(INSTANCE.getMenuOptions()[n3 - 1],
|
||||
INSTANCE.getMenuTargets()[n3 - 1],
|
||||
INSTANCE.getMenuTypes()[n3 - 1],
|
||||
INSTANCE.getMenuIdentifiers()[n3 - 1],
|
||||
INSTANCE.getMenuActionParams0()[n3 - 1],
|
||||
INSTANCE.getMenuActionParams1()[n3 - 1]);
|
||||
new net.runelite.api.events.MenuEntryAdded(INSTANCE.getMenuOptions()[n3 - 1],
|
||||
INSTANCE.getMenuTargets()[n3 - 1],
|
||||
INSTANCE.getMenuTypes()[n3 - 1],
|
||||
INSTANCE.getMenuIdentifiers()[n3 - 1],
|
||||
INSTANCE.getMenuActionParams0()[n3 - 1],
|
||||
INSTANCE.getMenuActionParams1()[n3 - 1]);
|
||||
INSTANCE.getCallbacks().post(menuEntryAdded);
|
||||
}
|
||||
|
||||
@@ -441,10 +441,10 @@ public class Client
|
||||
int n29 = rl$modelViewportXs[n10];
|
||||
int n30 = rl$modelViewportXs[n24];
|
||||
if (n25 != -5000 && n26 != -5000 && n27 != -5000 && (bl5 = (n23 = (n22 = rSModel.isClickable() ? 20
|
||||
: 5) + n11) < n28 && n23 < n29 && n23 < n30 ? false
|
||||
: ((n23 = n11 - n22) > n28 && n23 > n29 && n23 > n30 ? false
|
||||
: ((n23 = n22 + n14) < n25 && n23 < n26 && n23 < n27 ? false
|
||||
: (n23 = n14 - n22) <= n25 || n23 <= n26 || n23 <= n27))))
|
||||
: 5) + n11) < n28 && n23 < n29 && n23 < n30 ? false
|
||||
: ((n23 = n11 - n22) > n28 && n23 > n29 && n23 > n30 ? false
|
||||
: ((n23 = n22 + n14) < n25 && n23 < n26 && n23 < n27 ? false
|
||||
: (n23 = n14 - n22) <= n25 || n23 <= n26 || n23 <= n27))))
|
||||
{
|
||||
this.addHashAtMouse(l2);
|
||||
return;
|
||||
@@ -533,8 +533,7 @@ public class Client
|
||||
}
|
||||
|
||||
@Inject
|
||||
public void invokeMenuAction(int actionParam, int widgetId, int opcode, int targetId, String menuOption,
|
||||
String menuTarget, int mouseX, int mouseY)
|
||||
public void invokeMenuAction(int actionParam, int widgetId, int opcode, int targetId, String menuOption, String menuTarget, int mouseX, int mouseY)
|
||||
{
|
||||
_Statics_.menuAction(actionParam, widgetId, opcode, targetId, menuOption,
|
||||
menuTarget, mouseX, mouseY);
|
||||
|
||||
@@ -51,7 +51,7 @@ public class Player
|
||||
@Overwrite
|
||||
public SkullIcon getSkullIcon()
|
||||
{
|
||||
switch(getHeadIconPk())
|
||||
switch (getHeadIconPk())
|
||||
{
|
||||
case 0:
|
||||
return SkullIcon.SKULL;
|
||||
|
||||
@@ -43,10 +43,10 @@ public class Scene
|
||||
return true;
|
||||
}
|
||||
|
||||
if(renderable instanceof RSPlayer)
|
||||
if (renderable instanceof RSPlayer)
|
||||
{
|
||||
RSPlayer p = (RSPlayer) renderable;
|
||||
if(Client.hideClanMates && p.isClanMember())
|
||||
if (Client.hideClanMates && p.isClanMember())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -41,10 +41,10 @@ public class _Statics_
|
||||
static final void prepend$menuAction(int actionParam, int widgetId, int opcode, int targetId, String menuOption,
|
||||
String menuTarget, int mouseX, int mouseY)
|
||||
{
|
||||
if(Client.printMenuActions)
|
||||
if (Client.printMenuActions)
|
||||
{
|
||||
int printOpcode = opcode;
|
||||
if(opcode >= 2000)
|
||||
if (opcode >= 2000)
|
||||
{
|
||||
printOpcode -= 2000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user