mirror of
https://e.coding.net/circlecloud/Soulbound.git
synced 2025-11-25 21:46:20 +00:00
@@ -94,7 +94,7 @@ public class ItemUtils {
|
|||||||
|
|
||||||
public static boolean isBindedPlayer(final Player player, final ItemStack itemStack) {
|
public static boolean isBindedPlayer(final Player player, final ItemStack itemStack) {
|
||||||
final List<String> itemLore = itemStack.getItemMeta().getLore();
|
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) {
|
public static boolean isBindOnEquip(final ItemStack itemStack) {
|
||||||
|
|||||||
Reference in New Issue
Block a user