dropparty: text standardize (#1561)

needs this to work
This commit is contained in:
Justin
2019-09-08 00:24:22 +10:00
committed by ThatGamerBlue
parent 231e41372e
commit f26bf086dc

View File

@@ -36,6 +36,7 @@ import net.runelite.api.Player;
import net.runelite.api.coords.WorldPoint;
import net.runelite.api.events.ConfigChanged;
import net.runelite.api.events.GameTick;
import net.runelite.api.util.Text;
import net.runelite.client.Notifier;
import net.runelite.client.config.ConfigManager;
import net.runelite.client.eventbus.EventBus;
@@ -52,11 +53,11 @@ import java.util.List;
@PluginDescriptor(
name = "Drop Party",
description = "Marks where a user ran, for drop partys",
tags = {"Drop", "Party", "marker", "player"},
type = PluginType.UTILITY,
enabledByDefault = false
name = "Drop Party",
description = "Marks where a user ran, for drop partys",
tags = {"Drop", "Party", "marker", "player"},
type = PluginType.UTILITY,
enabledByDefault = false
)
@Singleton
@Slf4j
@@ -137,7 +138,7 @@ public class DropPartyPlugin extends Plugin
{
continue;
}
if (player.getName().equalsIgnoreCase(playerName))
if (Text.standardize(player.getName()).equalsIgnoreCase(playerName))
{
runningPlayer = player;
break;