fix pickpocket (#910)

fixes left click pickpocketing
This commit is contained in:
Kyleeld
2019-07-06 21:37:16 +01:00
committed by Ganom
parent f8003f1d03
commit 6487b9c609

View File

@@ -1063,14 +1063,19 @@ public class MenuEntrySwapperPlugin extends Plugin
break;
}
}
if (option.equals("talk-to"))
if (option.equals("talk-to") || option.equals("attack"))
{
if (this.swapPickpocket)
{
swap(client, "pickpocket", option, target, true);
}
}
if (option.equals("talk-to"))
{
if (this.swapHardWoodGrove && target.contains("rionasta"))
{
swap(client, "send-parcel", option, target, true);