examineplugin: only capture menuactions with the option "Examine"
This commit is contained in:
@@ -144,6 +144,11 @@ public class ExaminePlugin extends Plugin
|
||||
@Subscribe
|
||||
public void onMenuOptionClicked(MenuOptionClicked event)
|
||||
{
|
||||
if (!event.getMenuOption().equals("Examine"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ExamineType type;
|
||||
int id;
|
||||
switch (event.getMenuAction())
|
||||
|
||||
Reference in New Issue
Block a user