Make condition for H.A.M. pickpockets lowercase

As target is lowercased, make the condition lowercased too so it can be
properly matched.

Fixes: #1478

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-04-13 14:28:24 +02:00
parent c3e7f80407
commit 7337b4e2cb

View File

@@ -331,7 +331,7 @@ public class MenuEntrySwapperPlugin extends Plugin
if (option.equals("talk-to"))
{
if (config.swapPickpocket() && target.contains("H.A.M."))
if (config.swapPickpocket() && target.contains("h.a.m."))
{
swap("pickpocket", option, target, true);
}