project(mixins): Shiftclick drop
This commit is contained in:
@@ -328,11 +328,15 @@ public class RuneLiteMenuEntry implements MenuEntry
|
||||
public boolean isItemOp()
|
||||
{
|
||||
MenuAction var1 = this.getType();
|
||||
if (var1 == MenuAction.CC_OP || var1 == MenuAction.CC_OP_LOW_PRIORITY) {
|
||||
if (var1 == MenuAction.CC_OP || var1 == MenuAction.CC_OP_LOW_PRIORITY)
|
||||
{
|
||||
int var2 = this.getIdentifier();
|
||||
int var3 = this.getParam1();
|
||||
if (var3 == 9764864) {
|
||||
switch(var2) {
|
||||
if (var3 == 9764864)
|
||||
{
|
||||
switch (var2)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
@@ -350,30 +354,7 @@ public class RuneLiteMenuEntry implements MenuEntry
|
||||
@Override
|
||||
public int getItemOp()
|
||||
{
|
||||
MenuAction var1 = this.getType();
|
||||
if (var1 == MenuAction.CC_OP || var1 == MenuAction.CC_OP_LOW_PRIORITY) {
|
||||
int var2 = this.getIdentifier();
|
||||
int var3 = this.getParam1();
|
||||
if (var3 == 9764864) {
|
||||
switch(var2) {
|
||||
case 2:
|
||||
return 1;
|
||||
case 3:
|
||||
return 2;
|
||||
case 4:
|
||||
return 3;
|
||||
case 5:
|
||||
default:
|
||||
break;
|
||||
case 6:
|
||||
return 4;
|
||||
case 7:
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user