修复兼容错误...

Signed-off-by: 502647092 <jtb1@163.com>
master
502647092 2016-01-13 13:44:52 +08:00
parent d2d216be3b
commit 03b47b3597
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class ItemUtils {
public static boolean isBindedPlayer(final Player player, final ItemStack itemStack) {
final List<String> itemLore = itemStack.getItemMeta().getLore();
return itemLore.contains(player.getName()) || itemLore.contains(player.getName().replaceAll("_", ""));
return itemLore.contains(player.getName()) || itemLore.contains(player.getName().replaceAll("_", " "));
}
public static boolean isBindOnEquip(final ItemStack itemStack) {