Remove debug right click option
This commit is contained in:
@@ -42,7 +42,6 @@ import net.runelite.client.ui.overlay.components.PanelComponent;
|
|||||||
|
|
||||||
public class RaidsPartyOverlay extends Overlay
|
public class RaidsPartyOverlay extends Overlay
|
||||||
{
|
{
|
||||||
public static final String PARTY_OVERLAY_DEBUG = "Debug";
|
|
||||||
public static final String PARTY_OVERLAY_RESET = "Reset missing";
|
public static final String PARTY_OVERLAY_RESET = "Reset missing";
|
||||||
public static final String PARTY_OVERLAY_REFRESH = "Refresh party";
|
public static final String PARTY_OVERLAY_REFRESH = "Refresh party";
|
||||||
|
|
||||||
@@ -61,7 +60,6 @@ public class RaidsPartyOverlay extends Overlay
|
|||||||
setPosition(OverlayPosition.TOP_RIGHT);
|
setPosition(OverlayPosition.TOP_RIGHT);
|
||||||
setPriority(OverlayPriority.HIGH);
|
setPriority(OverlayPriority.HIGH);
|
||||||
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY_CONFIG, OPTION_CONFIGURE, "Raids party overlay"));
|
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY_CONFIG, OPTION_CONFIGURE, "Raids party overlay"));
|
||||||
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY, PARTY_OVERLAY_DEBUG, "Raids party overlay"));
|
|
||||||
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY, PARTY_OVERLAY_RESET, "Raids party overlay"));
|
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY, PARTY_OVERLAY_RESET, "Raids party overlay"));
|
||||||
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY, PARTY_OVERLAY_REFRESH, "Raids party overlay"));
|
getMenuEntries().add(new OverlayMenuEntry(MenuAction.RUNELITE_OVERLAY, PARTY_OVERLAY_REFRESH, "Raids party overlay"));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -294,21 +294,6 @@ public class RaidsPlugin extends Plugin
|
|||||||
entry.getTarget().equals("Raids party overlay"))
|
entry.getTarget().equals("Raids party overlay"))
|
||||||
{
|
{
|
||||||
switch (entry.getOption()) {
|
switch (entry.getOption()) {
|
||||||
case RaidsPartyOverlay.PARTY_OVERLAY_DEBUG:
|
|
||||||
System.out.println("Starting players: ");
|
|
||||||
getStartingPartyMembers().stream().map(player -> "* " + player).forEach(System.out::println);
|
|
||||||
System.out.println("Current players: ");
|
|
||||||
getPartyMembers().stream().map(player -> "* " + player).forEach(System.out::println);
|
|
||||||
System.out.println("Missing players: ");
|
|
||||||
getMissingPartyMembers().stream().map(player -> "* " + player).forEach(System.out::println);
|
|
||||||
System.out.println("Clan members: ");
|
|
||||||
ClanMember[] clan = client.getClanMembers();
|
|
||||||
for (int i = 0; i < clan.length; i++) {
|
|
||||||
if (clan[i] != null) {
|
|
||||||
System.out.println("* " + clan[i].getUsername());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case RaidsPartyOverlay.PARTY_OVERLAY_RESET:
|
case RaidsPartyOverlay.PARTY_OVERLAY_RESET:
|
||||||
startingPartyMembers.clear();
|
startingPartyMembers.clear();
|
||||||
updatePartyMembers(true);
|
updatePartyMembers(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user