@@ -644,8 +644,9 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
List<String> invItemNames = new ArrayList<>();
|
List<String> invItemNames = new ArrayList<>();
|
||||||
if (target.equals("gourmet impling jar"))
|
switch (target)
|
||||||
{
|
{
|
||||||
|
case "gourmet impling jar":
|
||||||
if (client.getItemContainer(InventoryID.INVENTORY) != null)
|
if (client.getItemContainer(InventoryID.INVENTORY) != null)
|
||||||
{
|
{
|
||||||
for (Item i : Objects.requireNonNull(client.getItemContainer(InventoryID.INVENTORY)).getItems())
|
for (Item i : Objects.requireNonNull(client.getItemContainer(InventoryID.INVENTORY)).getItems())
|
||||||
@@ -661,9 +662,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
menuManager.removeSwaps(target);
|
menuManager.removeSwaps(target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
break;
|
||||||
switch (target)
|
|
||||||
{
|
|
||||||
case "young impling jar":
|
case "young impling jar":
|
||||||
if (client.getItemContainer(InventoryID.INVENTORY) != null)
|
if (client.getItemContainer(InventoryID.INVENTORY) != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user