Fix indenting and accidental annotations
This commit is contained in:
@@ -110,7 +110,7 @@ public class AntiDragPlugin extends Plugin
|
||||
clientUI.resetCursor();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("antiDrag"))
|
||||
|
||||
@@ -178,7 +178,7 @@ public class AoeWarningPlugin extends Plugin
|
||||
reset();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("aoe"))
|
||||
|
||||
@@ -174,7 +174,7 @@ public class BankPlugin extends Plugin
|
||||
itemQuantities = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onMenuShouldLeftClick(MenuShouldLeftClick event)
|
||||
{
|
||||
if (!forceRightClickFlag)
|
||||
|
||||
@@ -125,7 +125,7 @@ public class BanListPlugin extends Plugin
|
||||
manualBans.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("banlist") && event.getKey().equals("bannedPlayers"))
|
||||
|
||||
@@ -177,7 +177,7 @@ public class BarrowsPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("barrows"))
|
||||
|
||||
@@ -114,7 +114,7 @@ public class BlastMinePlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameObjectSpawned(GameObjectSpawned event)
|
||||
{
|
||||
final GameObject gameObject = event.getGameObject();
|
||||
|
||||
@@ -166,7 +166,7 @@ public class BoostsPlugin extends Plugin
|
||||
isChangedDown = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
|
||||
@@ -150,7 +150,7 @@ public class CannonPlugin extends Plugin
|
||||
spotPoints.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onItemContainerChanged(ItemContainerChanged event)
|
||||
{
|
||||
if (event.getItemContainer() != client.getItemContainer(InventoryID.INVENTORY))
|
||||
|
||||
@@ -72,7 +72,7 @@ public class CerberusPlugin extends Plugin
|
||||
ghosts.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
GameState gameState = event.getGameState();
|
||||
|
||||
@@ -91,7 +91,7 @@ public class ChatboxPerformancePlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onScriptCallbackEvent(ScriptCallbackEvent ev)
|
||||
{
|
||||
if (!"chatboxBackgroundBuilt".equals(ev.getEventName()))
|
||||
|
||||
@@ -436,7 +436,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void killCountLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.killcount())
|
||||
@@ -524,7 +523,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void duelArenaLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.duels())
|
||||
@@ -582,7 +580,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
client.refreshChat();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void questPointsLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.qp())
|
||||
@@ -651,7 +648,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void gambleCountLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.gc())
|
||||
@@ -723,7 +719,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
}
|
||||
|
||||
|
||||
@Subscribe
|
||||
private void personalBestLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.pb())
|
||||
@@ -820,7 +815,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
* @param chatMessage The chat message containing the command.
|
||||
* @param message The chat message
|
||||
*/
|
||||
@Subscribe
|
||||
private void itemPriceLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.price())
|
||||
@@ -892,7 +886,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
* @param chatMessage The chat message containing the command.
|
||||
* @param message The chat message
|
||||
*/
|
||||
@Subscribe
|
||||
private void playerSkillLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.lvl())
|
||||
@@ -967,7 +960,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void combatLevelLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.lvl())
|
||||
@@ -1053,7 +1045,6 @@ public class ChatCommandsPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void clueLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!config.clue())
|
||||
|
||||
@@ -109,7 +109,7 @@ public class ChatFilterPlugin extends Plugin
|
||||
client.refreshChat();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onScriptCallbackEvent(ScriptCallbackEvent event)
|
||||
{
|
||||
if (!"chatFilterCheck".equals(event.getEventName()))
|
||||
|
||||
@@ -114,7 +114,7 @@ public class ChatHistoryPlugin extends Plugin implements KeyListener
|
||||
keyManager.unregisterKeyListener(this);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onChatMessage(ChatMessage chatMessage)
|
||||
{
|
||||
// Start sending old messages right after the welcome message, as that is most reliable source
|
||||
|
||||
@@ -109,7 +109,7 @@ public class ChatNotificationsPlugin extends Plugin
|
||||
this.privateMessageHashes.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
@@ -270,7 +270,6 @@ public class ChatNotificationsPlugin extends Plugin
|
||||
return (message.getName() + message.getMessage()).hashCode();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void sendNotification(ChatMessage message)
|
||||
{
|
||||
String name = Text.removeTags(message.getName());
|
||||
|
||||
@@ -164,7 +164,7 @@ public class ClanChatPlugin extends Plugin
|
||||
resetClanChats();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged configChanged)
|
||||
{
|
||||
if (configChanged.getGroup().equals("clanchat"))
|
||||
@@ -538,7 +538,6 @@ public class ClanChatPlugin extends Plugin
|
||||
return clanMembers.size();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void insertClanRankIcon(final ChatMessage message)
|
||||
{
|
||||
final ClanMemberRank rank = clanManager.getRank(message.getName());
|
||||
|
||||
@@ -120,7 +120,7 @@ public class ClanManModePlugin extends Plugin
|
||||
inwildy = 0;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!"clanmanmode".equals(event.getGroup()))
|
||||
|
||||
@@ -211,7 +211,7 @@ public class ClueScrollPlugin extends Plugin
|
||||
resetClue(true);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onChatMessage(ChatMessage event)
|
||||
{
|
||||
if (event.getType() != ChatMessageType.GAMEMESSAGE && event.getType() != ChatMessageType.SPAM)
|
||||
|
||||
@@ -126,7 +126,7 @@ public class CombatLevelPlugin extends Plugin
|
||||
shutDownAttackLevelRange();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameTick(GameTick event)
|
||||
{
|
||||
if (client.getGameState() != GameState.LOGGED_IN)
|
||||
|
||||
@@ -127,7 +127,7 @@ public class ConfigPlugin extends Plugin
|
||||
});
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onPluginChanged(PluginChanged event)
|
||||
{
|
||||
SwingUtilities.invokeLater(configPanel::refreshPluginList);
|
||||
|
||||
@@ -113,7 +113,7 @@ public class CookingPlugin extends Plugin
|
||||
session = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onOverlayMenuClicked(OverlayMenuClicked overlayMenuClicked)
|
||||
{
|
||||
OverlayMenuEntry overlayMenuEntry = overlayMenuClicked.getEntry();
|
||||
|
||||
@@ -131,7 +131,7 @@ public class CorpPlugin extends Plugin
|
||||
players.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged gameStateChanged)
|
||||
{
|
||||
if (gameStateChanged.getGameState() == GameState.LOADING)
|
||||
|
||||
@@ -182,7 +182,7 @@ public class CoxPlugin extends Plugin
|
||||
overlayManager.remove(coxInfoBox);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("Cox"))
|
||||
|
||||
@@ -113,7 +113,7 @@ public class DailyTasksPlugin extends Plugin
|
||||
lastReset = 0L;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGING_IN)
|
||||
|
||||
@@ -216,7 +216,7 @@ public class DevToolsPlugin extends Plugin
|
||||
clientToolbar.removeNavigation(navButton);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onCommandExecuted(CommandExecuted commandExecuted)
|
||||
{
|
||||
String[] args = commandExecuted.getArguments();
|
||||
|
||||
@@ -165,7 +165,7 @@ public class DiscordPlugin extends Plugin
|
||||
wsClient.unregisterMessage(DiscordUserInfo.class);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
|
||||
@@ -105,7 +105,7 @@ public class DropPartyPlugin extends Plugin
|
||||
reset();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameTick(GameTick event)
|
||||
{
|
||||
shuffleList();
|
||||
|
||||
@@ -78,7 +78,7 @@ public class EmojiPlugin extends Plugin
|
||||
{
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
void onGameStateChanged(GameStateChanged gameStateChanged)
|
||||
{
|
||||
if (gameStateChanged.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -74,7 +74,7 @@ public class EntityHiderPlugin extends Plugin
|
||||
Text.fromCSV(config.hideNPCsOnDeath()).forEach(client::addHiddenNpcDeath);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
public void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("entityhider"))
|
||||
|
||||
@@ -143,7 +143,7 @@ public class EquipmentInspectorPlugin extends Plugin
|
||||
pluginToolbar.removeNavigation(navButton);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onPlayerMenuOptionClicked(PlayerMenuOptionClicked event)
|
||||
{
|
||||
if (event.getMenuOption().equals(INSPECT_EQUIPMENT))
|
||||
|
||||
@@ -102,17 +102,7 @@ public class ExaminePlugin extends Plugin
|
||||
@Inject
|
||||
private ScheduledExecutorService executor;
|
||||
|
||||
@Override
|
||||
protected void startUp() throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void shutDown() throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
pending.clear();
|
||||
|
||||
@@ -132,7 +132,7 @@ public class XpDropPlugin extends Plugin
|
||||
overlayManager.remove(overlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onXpDropEvent(XpDropEvent event)
|
||||
{
|
||||
previousExpGained = event.getExp();
|
||||
|
||||
@@ -122,7 +122,7 @@ public class FairyRingPlugin extends Plugin
|
||||
{
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("fairyrings"))
|
||||
|
||||
@@ -187,7 +187,7 @@ public class FightCavePlugin extends Plugin
|
||||
currentWave = -1;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("fightcave"))
|
||||
|
||||
@@ -190,7 +190,7 @@ public class FishingPlugin extends Plugin
|
||||
trawlerStartTime = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onOverlayMenuClicked(OverlayMenuClicked overlayMenuClicked)
|
||||
{
|
||||
OverlayMenuEntry overlayMenuEntry = overlayMenuClicked.getEntry();
|
||||
|
||||
@@ -116,7 +116,7 @@ public class FreezeTimersPlugin extends Plugin
|
||||
return configManager.getConfig(FreezeTimersConfig.class);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
public void onSpotAnimationChanged(SpotAnimationChanged graphicChanged)
|
||||
{
|
||||
final int oldGraphic = prayerTracker.getSpotanimLastTick(graphicChanged.getActor());
|
||||
|
||||
@@ -102,7 +102,7 @@ public class FriendTaggingPlugin extends Plugin
|
||||
menuManager.removeManagedCustomMenu(ignoreTabResizableOption);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onMenuEntryAdded(MenuEntryAdded event)
|
||||
{
|
||||
final int groupId = WidgetInfo.TO_GROUP(event.getParam1());
|
||||
|
||||
@@ -299,7 +299,7 @@ public class GauntletPlugin extends Plugin
|
||||
countersVisible = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onMenuOptionClicked(MenuOptionClicked menuOptionClicked)
|
||||
{
|
||||
if (menuOptionClicked.getTarget().toUpperCase().contains("LINUM"))
|
||||
|
||||
@@ -257,7 +257,7 @@ public class GrandExchangePlugin extends Plugin
|
||||
grandExchangeClient = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onSessionOpen(SessionOpen sessionOpen)
|
||||
{
|
||||
AccountSession accountSession = sessionManager.getAccountSession();
|
||||
|
||||
@@ -507,7 +507,7 @@ public class GroundItemsPlugin extends Plugin
|
||||
collectedGroundItems.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameTick(GameTick event)
|
||||
{
|
||||
for (GroundItem item : collectedGroundItems.values())
|
||||
|
||||
@@ -179,7 +179,7 @@ public class HidePrayersPlugin extends Plugin
|
||||
restorePrayers();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -149,7 +149,7 @@ public class HiscorePlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ public class HunterPlugin extends Plugin
|
||||
traps.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameObjectSpawned(GameObjectSpawned event)
|
||||
{
|
||||
final GameObject gameObject = event.getGameObject();
|
||||
|
||||
@@ -119,7 +119,7 @@ public class BabyHydraPlugin extends Plugin
|
||||
hydraattacks.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("hydra"))
|
||||
|
||||
@@ -999,7 +999,7 @@ public class IdleNotifierPlugin extends Plugin
|
||||
{
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("idlenotifier"))
|
||||
|
||||
@@ -150,7 +150,7 @@ public class ImplingsPlugin extends Plugin
|
||||
overlayManager.remove(implingCounterOverlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameTick(GameTick event)
|
||||
{
|
||||
implingCounterMap.clear();
|
||||
|
||||
@@ -273,7 +273,7 @@ public class InfernoPlugin extends Plugin
|
||||
showNpcDeaths();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!"inferno".equals(event.getGroup()))
|
||||
|
||||
@@ -105,7 +105,7 @@ public class InstanceMapPlugin extends Plugin
|
||||
mouseManager.unregisterMouseWheelListener(inputListener);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
overlay.onGameStateChange(event);
|
||||
|
||||
@@ -105,7 +105,7 @@ public class InterfaceStylesPlugin extends Plugin
|
||||
});
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged config)
|
||||
{
|
||||
if (config.getGroup().equals("interfaceStyles"))
|
||||
|
||||
@@ -162,7 +162,7 @@ public class InventoryTagsPlugin extends Plugin
|
||||
editorMode = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onWidgetMenuOptionClicked(final WidgetMenuOptionClicked event)
|
||||
{
|
||||
if (event.getWidget() == WidgetInfo.FIXED_VIEWPORT_INVENTORY_TAB
|
||||
|
||||
@@ -259,7 +259,7 @@ public class ItemChargePlugin extends Plugin
|
||||
lastCheckTick = -1;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("itemCharge"))
|
||||
|
||||
@@ -150,7 +150,7 @@ public class ItemStatPlugin extends Plugin
|
||||
clientThread.invokeLater(this::resetGEInventory);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getKey().equals("geStats"))
|
||||
|
||||
@@ -110,7 +110,7 @@ public class KingdomPlugin extends Plugin
|
||||
removeKingdomInfobox();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onVarbitChanged(VarbitChanged event)
|
||||
{
|
||||
updateKingdomVarbits();
|
||||
|
||||
@@ -158,7 +158,7 @@ public class KourendLibraryPlugin extends Plugin
|
||||
playerBooks = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged ev)
|
||||
{
|
||||
if (!KourendLibraryConfig.GROUP_KEY.equals(ev.getGroup()))
|
||||
|
||||
@@ -75,7 +75,7 @@ public class LearnToClickPlugin extends Plugin
|
||||
hideOrbWidgets(false);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("learntoclick"))
|
||||
|
||||
@@ -101,7 +101,7 @@ public class LizardmenShamanPlugin extends Plugin
|
||||
spawns.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onChatMessage(ChatMessage event)
|
||||
{
|
||||
if (this.notifyOnSpawn && /* event.getType() == ChatMessageType.GAMEMESSAGE && */event.getMessage().contains(MESSAGE))
|
||||
|
||||
@@ -47,7 +47,7 @@ public class LootAssistPlugin extends Plugin
|
||||
overlayManager.remove(lootAssistOverlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
lootPiles.clear();
|
||||
|
||||
@@ -112,7 +112,7 @@ public class LootingBagViewerPlugin extends Plugin
|
||||
overlayManager.remove(widgetOverlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged configChanged)
|
||||
{
|
||||
if (configChanged.getKey().equals("renderViewer"))
|
||||
|
||||
@@ -492,7 +492,7 @@ public class LootTrackerPlugin extends Plugin
|
||||
chestLooted = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(final GameStateChanged event)
|
||||
{
|
||||
if (client.getLocalPlayer() == null)
|
||||
|
||||
@@ -55,17 +55,7 @@ public class MaxHitPlugin extends Plugin
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
@Override
|
||||
protected void startUp() throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void shutDown() throws Exception
|
||||
{
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onItemContainerChanged(final ItemContainerChanged event)
|
||||
{
|
||||
this.updateMaxHitWidget();
|
||||
|
||||
@@ -360,7 +360,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onFocusChanged(FocusChanged event)
|
||||
{
|
||||
if (!event.isFocused())
|
||||
|
||||
@@ -129,7 +129,7 @@ public class MetronomePlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("metronome"))
|
||||
|
||||
@@ -91,7 +91,7 @@ public class MinimapPlugin extends Plugin
|
||||
restoreOriginalDots();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGIN_SCREEN && originalDotSprites == null)
|
||||
|
||||
@@ -249,7 +249,7 @@ public class MotherlodePlugin extends Plugin
|
||||
});
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onOverlayMenuClicked(OverlayMenuClicked overlayMenuClicked)
|
||||
{
|
||||
OverlayMenuEntry overlayMenuEntry = overlayMenuClicked.getEntry();
|
||||
|
||||
@@ -96,7 +96,7 @@ public class MouseHighlightPlugin extends Plugin
|
||||
overlayManager.remove(overlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -128,7 +128,7 @@ public class MusicPlugin extends Plugin
|
||||
return configManager.getConfig(MusicConfig.class);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged gameStateChanged)
|
||||
{
|
||||
if (gameStateChanged.getGameState() == GameState.LOGIN_SCREEN)
|
||||
|
||||
@@ -96,7 +96,7 @@ public class MusicIndicatorPlugin extends Plugin
|
||||
musicTrackVarpValues.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
|
||||
@@ -126,7 +126,7 @@ public class NightmareZonePlugin extends Plugin
|
||||
resetPointsPerHour();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("nightmareZone"))
|
||||
|
||||
@@ -242,7 +242,7 @@ public class NpcIndicatorsPlugin extends Plugin
|
||||
keyManager.unregisterKeyListener(inputListener);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGIN_SCREEN ||
|
||||
|
||||
@@ -113,7 +113,7 @@ public class NpcStatusPlugin extends Plugin
|
||||
memorizedNPCs.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onNpcSpawned(NpcSpawned npcSpawned)
|
||||
{
|
||||
final NPC npc = npcSpawned.getNpc();
|
||||
|
||||
@@ -140,7 +140,7 @@ public class OpenOSRSPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onScriptCallbackEvent(ScriptCallbackEvent e)
|
||||
{
|
||||
if (!config.keyboardPin())
|
||||
|
||||
@@ -154,7 +154,7 @@ public class PerformanceStatsPlugin extends Plugin
|
||||
reset();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
|
||||
@@ -194,7 +194,7 @@ public class PestControlPlugin extends Plugin
|
||||
unloadPlugin();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged configEvent)
|
||||
{
|
||||
if (configEvent.getGroup().equals("pestcontrol"))
|
||||
|
||||
@@ -154,7 +154,7 @@ public class PlayerIndicatorsPlugin extends Plugin
|
||||
resultCache.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onInteractingChanged(InteractingChanged event)
|
||||
{
|
||||
if (!this.highlightCallerTargets || event.getSource() == null || callers.isEmpty() || !isCaller(event.getSource()))
|
||||
|
||||
@@ -157,7 +157,7 @@ public class PohPlugin extends Plugin
|
||||
incenseBurners.clear();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("poh"))
|
||||
|
||||
@@ -181,7 +181,7 @@ public class PoisonPlugin extends Plugin
|
||||
clientThread.invoke(this::resetHealthIcon);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onVarbitChanged(VarbitChanged event)
|
||||
{
|
||||
final int poisonValue = client.getVar(VarPlayer.POISON);
|
||||
|
||||
@@ -167,7 +167,7 @@ public class PrayAgainstPlayerPlugin extends Plugin
|
||||
overlayManager.remove(overlayPrayerTab);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onAnimationChanged(AnimationChanged animationChanged)
|
||||
{
|
||||
if ((animationChanged.getActor() instanceof Player) && (animationChanged.getActor().getInteracting() instanceof Player) && (animationChanged.getActor().getInteracting() == client.getLocalPlayer()))
|
||||
|
||||
@@ -135,7 +135,7 @@ public class PrayerPlugin extends Plugin
|
||||
removeIndicators();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("prayer"))
|
||||
|
||||
@@ -85,7 +85,7 @@ public class PrivateServerPlugin extends Plugin
|
||||
client.setModulus(null);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("privateserver"))
|
||||
|
||||
@@ -281,7 +281,7 @@ public class PvpToolsPlugin extends Plugin
|
||||
loaded = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged configChanged)
|
||||
{
|
||||
if (!"pvptools".equals(configChanged.getGroup()))
|
||||
|
||||
@@ -157,7 +157,7 @@ public class PyramidPlunderPlugin extends Plugin
|
||||
reset();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!"pyramidplunder".equals(event.getGroup()))
|
||||
|
||||
@@ -112,7 +112,7 @@ public class QuestListPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged e)
|
||||
{
|
||||
if (e.getGameState() == GameState.LOGGING_IN)
|
||||
|
||||
@@ -332,7 +332,7 @@ public class RaidsPlugin extends Plugin
|
||||
reset();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("raids"))
|
||||
|
||||
@@ -70,7 +70,7 @@ public class ShortcutPlugin extends Plugin
|
||||
overlayManager.remove(overlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameObjectSpawned(GameObjectSpawned event)
|
||||
{
|
||||
WorldPoint worldPoint = WorldPoint.fromLocalInstance(client, event.getGameObject().getLocalLocation());
|
||||
|
||||
@@ -121,7 +121,7 @@ public class RaidsThievingPlugin extends Plugin
|
||||
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameObjectSpawned(GameObjectSpawned event)
|
||||
{
|
||||
GameObject obj = event.getGameObject();
|
||||
|
||||
@@ -127,7 +127,7 @@ public class RandomEventPlugin extends Plugin
|
||||
currentRandomEvent = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onInteractingChanged(InteractingChanged event)
|
||||
{
|
||||
Actor source = event.getSource();
|
||||
|
||||
@@ -104,7 +104,7 @@ public class RemindersPlugin extends Plugin
|
||||
loginTime = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
public void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
final GameState state = event.getGameState();
|
||||
|
||||
@@ -235,7 +235,7 @@ public class ReorderPrayersPlugin extends Plugin
|
||||
reorderPrayers(false);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -105,7 +105,7 @@ public class ReportButtonPlugin extends Plugin
|
||||
});
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
GameState state = event.getGameState();
|
||||
|
||||
@@ -101,7 +101,7 @@ public class RoguesDenPlugin extends Plugin
|
||||
hasGem = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onItemContainerChanged(ItemContainerChanged event)
|
||||
{
|
||||
if (event.getItemContainer() != client.getItemContainer(InventoryID.INVENTORY))
|
||||
|
||||
@@ -280,7 +280,7 @@ public class ScreenshotPlugin extends Plugin
|
||||
keyManager.unregisterKeyListener(hotkeyListener);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN
|
||||
|
||||
@@ -122,7 +122,7 @@ public class SkillCalculatorPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("skillCalculator") && event.getKey().equals("enabledBankedXp"))
|
||||
|
||||
@@ -352,7 +352,7 @@ public class SlayerPlugin extends Plugin
|
||||
cachedXp = -1;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Provides
|
||||
SlayerConfig getConfig(ConfigManager configManager)
|
||||
{
|
||||
return configManager.getConfig(SlayerConfig.class);
|
||||
@@ -1130,7 +1130,6 @@ public class SlayerPlugin extends Plugin
|
||||
counter = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
void taskLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!this.taskCommand)
|
||||
@@ -1206,7 +1205,6 @@ public class SlayerPlugin extends Plugin
|
||||
client.refreshChat();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
private void pointsLookup(ChatMessage chatMessage, String message)
|
||||
{
|
||||
if (!this.pointsCommand)
|
||||
|
||||
@@ -91,7 +91,7 @@ public class SmeltingPlugin extends Plugin
|
||||
session = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
public void onOverlayMenuClicked(OverlayMenuClicked overlayMenuClicked)
|
||||
{
|
||||
OverlayMenuEntry overlayMenuEntry = overlayMenuClicked.getEntry();
|
||||
|
||||
@@ -84,7 +84,7 @@ public class SpawnTimerPlugin extends Plugin
|
||||
overlayManager.remove(SpawnTimerOverlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameTick(GameTick g)
|
||||
{
|
||||
currentTick++;
|
||||
|
||||
@@ -106,7 +106,7 @@ public class SpecialCounterPlugin extends Plugin
|
||||
wsClient.unregisterMessage(SpecialCounterUpdate.class);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -171,7 +171,7 @@ public class StatusOrbsPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (event.getGroup().equals("statusorbs"))
|
||||
|
||||
@@ -89,7 +89,7 @@ public class TearsOfGuthixPlugin extends Plugin
|
||||
playerLowestSkill = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
switch (event.getGameState())
|
||||
|
||||
@@ -150,7 +150,7 @@ public class TheatrePlugin extends Plugin
|
||||
overlayManager.remove(overlay);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onAnimationChanged(AnimationChanged event)
|
||||
{
|
||||
if (verzikHandler != null)
|
||||
|
||||
@@ -118,7 +118,7 @@ public class ThievingPlugin extends Plugin
|
||||
session = null;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged event)
|
||||
{
|
||||
if (event.getGameState() == GameState.LOGGED_IN)
|
||||
|
||||
@@ -116,7 +116,7 @@ public class TickTimersPlugin extends Plugin
|
||||
validRegion = false;
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe
|
||||
private void onGameStateChanged(GameStateChanged gameStateChanged)
|
||||
{
|
||||
if (gameStateChanged.getGameState() != GameState.LOGGED_IN)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user