1
0
mirror of https://e.coding.net/circlecloud/Soulbound.git synced 2024-11-21 01:39:10 +00:00

修复兼容错误...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2016-01-13 13:44:52 +08:00
parent d2d216be3b
commit 03b47b3597

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) {