Add Silver sickle(b) to menu entry swapper plugin.
This commit is contained in:
@@ -169,6 +169,17 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 12,
|
position = 12,
|
||||||
|
keyName = "swapSilverSickle",
|
||||||
|
name = "Silver sickle(b)",
|
||||||
|
description = "Swap Wield with Cast Bloom on Silver sickle(b)"
|
||||||
|
)
|
||||||
|
default boolean swapSilverSickle()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 13,
|
||||||
keyName = "swapBones",
|
keyName = "swapBones",
|
||||||
name = "Bury",
|
name = "Bury",
|
||||||
description = "Swap Bury with Use on Bones"
|
description = "Swap Bury with Use on Bones"
|
||||||
|
|||||||
@@ -128,9 +128,17 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("rub", option, target, true);
|
swap("rub", option, target, true);
|
||||||
swap("teleport", option, target, true);
|
swap("teleport", option, target, true);
|
||||||
}
|
}
|
||||||
else if (config.swapTeleportItem() && option.equals("wield"))
|
else if (option.equals("wield"))
|
||||||
{
|
{
|
||||||
swap("teleport", option, target, true);
|
if (config.swapTeleportItem())
|
||||||
|
{
|
||||||
|
swap("teleport", option, target, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (config.swapSilverSickle())
|
||||||
|
{
|
||||||
|
swap("cast bloom", option, target, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (config.swapBones() && option.equals("bury"))
|
else if (config.swapBones() && option.equals("bury"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user