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

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