mirror of
https://e.coding.net/circlecloud/Soulbound.git
synced 2025-11-24 21:36:20 +00:00
4
pom.xml
4
pom.xml
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.me.tft_02.soulbound</groupId>
|
||||
<artifactId>Soulbound</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.3.2</version>
|
||||
<name>Soulbound</name>
|
||||
<description>Soulbound items for your RPG servers!</description>
|
||||
<url>https://github.com/TfT-02/Soulbound</url>
|
||||
@@ -61,7 +61,7 @@
|
||||
<properties>
|
||||
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
||||
<env.BUILD_NUMBER>Debug</env.BUILD_NUMBER>
|
||||
<update.description>&c修复背包满时 拾取物品 绑定物品消失BUG(感谢john180修复)...</update.description>
|
||||
<update.description>&a兼容部分ESS的Kit命令生成的装备...&c修复背包满时 拾取物品 绑定物品消失BUG(感谢john180修复)...</update.description>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<repositories>
|
||||
|
||||
@@ -94,8 +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());
|
||||
return itemLore.contains(player.getName()) || itemLore.contains(player.getName().replaceAll("_", ""));
|
||||
}
|
||||
|
||||
public static boolean isBindOnEquip(final ItemStack itemStack) {
|
||||
|
||||
Reference in New Issue
Block a user