Apply suggestions from code review
upstream: Merge suggested changes
This commit is contained in:
@@ -25,9 +25,9 @@
|
|||||||
package net.runelite.http.api.ws.messages.party;
|
package net.runelite.http.api.ws.messages.party;
|
||||||
|
|
||||||
import lombok.Value;
|
import lombok.Value;
|
||||||
|
import net.runelite.api.events.Event;
|
||||||
@Value
|
@Value
|
||||||
public class PartyChatMessage extends PartyMemberMessage
|
public class PartyChatMessage extends PartyMemberMessage implements Event
|
||||||
{
|
{
|
||||||
private final String value;
|
private final String value;
|
||||||
}
|
}
|
||||||
@@ -274,7 +274,7 @@ public class GroundItemsPlugin extends Plugin
|
|||||||
eventBus.subscribe(ClientTick.class, this, this::onClientTick);
|
eventBus.subscribe(ClientTick.class, this, this::onClientTick);
|
||||||
eventBus.subscribe(MenuEntryAdded.class, this, this::onMenuEntryAdded);
|
eventBus.subscribe(MenuEntryAdded.class, this, this::onMenuEntryAdded);
|
||||||
eventBus.subscribe(FocusChanged.class, this, this::onFocusChanged);
|
eventBus.subscribe(FocusChanged.class, this, this::onFocusChanged);
|
||||||
eventBus.subscribe(MenuOptionClicked.class, this, this::onMenuOptionClicked);
|
eventBus.subscribe(MenuOptionClicked.class, this, this::onMenuOptionClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onGameTick(GameTick event)
|
private void onGameTick(GameTick event)
|
||||||
|
|||||||
@@ -210,16 +210,16 @@ public class RaidsPlugin extends Plugin
|
|||||||
private WSClient ws;
|
private WSClient ws;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final ArrayList<String> roomWhitelist = new ArrayList<>();
|
private final List<String> roomWhitelist = new ArrayList<>();
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final ArrayList<String> roomBlacklist = new ArrayList<>();
|
private final List<String> roomBlacklist = new ArrayList<>();
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final ArrayList<String> rotationWhitelist = new ArrayList<>();
|
private final List<String> rotationWhitelist = new ArrayList<>();
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final ArrayList<String> layoutWhitelist = new ArrayList<>();
|
private final List<String> layoutWhitelist = new ArrayList<>();
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private Raid raid;
|
private Raid raid;
|
||||||
|
|||||||
Reference in New Issue
Block a user