Do not add Hop-to option to chatbox and raiding party

This commit is contained in:
Kamiel
2018-08-16 06:44:55 +02:00
parent b0a9d24928
commit 78a7021edc

View File

@@ -280,8 +280,7 @@ public class WorldHopperPlugin extends Plugin
String option = event.getOption();
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.RAIDING_PARTY.getGroupId() || groupId == WidgetInfo.PRIVATE_CHAT_MESSAGE.getGroupId())
groupId == WidgetInfo.PRIVATE_CHAT_MESSAGE.getGroupId())
{
boolean after;