Merge pull request #718 from devLotto/examine-fix

examineplugin: only capture menuactions with the option "Examine"
This commit is contained in:
Adam
2018-02-27 20:07:06 -05:00
committed by GitHub

View File

@@ -144,6 +144,11 @@ public class ExaminePlugin extends Plugin
@Subscribe @Subscribe
public void onMenuOptionClicked(MenuOptionClicked event) public void onMenuOptionClicked(MenuOptionClicked event)
{ {
if (!event.getMenuOption().equals("Examine"))
{
return;
}
ExamineType type; ExamineType type;
int id; int id;
switch (event.getMenuAction()) switch (event.getMenuAction())