menuentryswapper: remove pickpocket swap
Removed at Jagex's request
This commit is contained in:
@@ -202,16 +202,6 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return HouseAdvertisementMode.VIEW;
|
return HouseAdvertisementMode.VIEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
|
||||||
keyName = "swapPickpocket",
|
|
||||||
name = "Pickpocket",
|
|
||||||
description = "Swap Talk-to with Pickpocket"
|
|
||||||
)
|
|
||||||
default boolean swapPickpocket()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapPay",
|
keyName = "swapPay",
|
||||||
name = "Pay",
|
name = "Pay",
|
||||||
|
|||||||
@@ -371,11 +371,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
|
|
||||||
if (option.equals("talk-to"))
|
if (option.equals("talk-to"))
|
||||||
{
|
{
|
||||||
if (config.swapPickpocket() && shouldSwapPickpocket(target))
|
|
||||||
{
|
|
||||||
swap("pickpocket", option, target, index);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (config.swapAbyssTeleport() && target.contains("mage of zamorak"))
|
if (config.swapAbyssTeleport() && target.contains("mage of zamorak"))
|
||||||
{
|
{
|
||||||
swap("teleport", option, target, index);
|
swap("teleport", option, target, index);
|
||||||
@@ -638,11 +633,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean shouldSwapPickpocket(String target)
|
|
||||||
{
|
|
||||||
return !target.startsWith("villager") && !target.startsWith("bandit") && !target.startsWith("menaphite thug");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onClientTick(ClientTick clientTick)
|
public void onClientTick(ClientTick clientTick)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user