Do not add Hop-to option to chatbox and raiding party
This commit is contained in:
@@ -280,8 +280,7 @@ public class WorldHopperPlugin extends Plugin
|
|||||||
String option = event.getOption();
|
String option = event.getOption();
|
||||||
|
|
||||||
if (groupId == WidgetInfo.FRIENDS_LIST.getGroupId() || groupId == WidgetInfo.CLAN_CHAT.getGroupId() ||
|
if (groupId == WidgetInfo.FRIENDS_LIST.getGroupId() || groupId == WidgetInfo.CLAN_CHAT.getGroupId() ||
|
||||||
groupId == WidgetInfo.CHATBOX.getGroupId() && !KICK_OPTION.equals(option) || //prevent from adding for Kick option (interferes with the raiding party one)
|
groupId == WidgetInfo.PRIVATE_CHAT_MESSAGE.getGroupId())
|
||||||
groupId == WidgetInfo.RAIDING_PARTY.getGroupId() || groupId == WidgetInfo.PRIVATE_CHAT_MESSAGE.getGroupId())
|
|
||||||
{
|
{
|
||||||
boolean after;
|
boolean after;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user