mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-21 01:48:54 +00:00
feat: 更新类库导入
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
9fce7de6b4
commit
2131ee1746
@ -20,11 +20,11 @@ import org.maxgamer.QuickShop.QuickShop;
|
||||
import org.maxgamer.QuickShop.Util.MsgUtil;
|
||||
import org.maxgamer.QuickShop.Util.Util;
|
||||
|
||||
import cn.citycraft.PluginHelper.kit.PKit;
|
||||
import cn.citycraft.PluginHelper.bukkit.P;
|
||||
import cn.citycraft.PluginHelper.kit.PluginKit;
|
||||
|
||||
public class ContainerShop implements Shop {
|
||||
private final QuickShop plugin = (QuickShop) PKit.i();
|
||||
private final QuickShop plugin = (QuickShop) P.instance;
|
||||
private final String signTitle = plugin.getConfigManager().getGuiTitle();
|
||||
private DisplayItem displayItem;
|
||||
private final ItemStack item;
|
||||
@ -377,7 +377,7 @@ public class ContainerShop implements Shop {
|
||||
continue;
|
||||
}
|
||||
final Sign sign = (Sign) b.getState();
|
||||
if (sign.getLine(0).contains("[QuickShop]") || sign.getLine(0).contains(signTitle)) {
|
||||
if (sign.getLine(0).contains("[QuickShop]") || signTitle.startsWith(sign.getLine(0))) {
|
||||
signs.add(sign);
|
||||
} else {
|
||||
boolean text = false;
|
||||
|
Loading…
Reference in New Issue
Block a user