mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58: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.MsgUtil;
|
||||||
import org.maxgamer.QuickShop.Util.Util;
|
import org.maxgamer.QuickShop.Util.Util;
|
||||||
|
|
||||||
import cn.citycraft.PluginHelper.kit.PKit;
|
import cn.citycraft.PluginHelper.bukkit.P;
|
||||||
import cn.citycraft.PluginHelper.kit.PluginKit;
|
import cn.citycraft.PluginHelper.kit.PluginKit;
|
||||||
|
|
||||||
public class ContainerShop implements Shop {
|
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 final String signTitle = plugin.getConfigManager().getGuiTitle();
|
||||||
private DisplayItem displayItem;
|
private DisplayItem displayItem;
|
||||||
private final ItemStack item;
|
private final ItemStack item;
|
||||||
@ -377,7 +377,7 @@ public class ContainerShop implements Shop {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final Sign sign = (Sign) b.getState();
|
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);
|
signs.add(sign);
|
||||||
} else {
|
} else {
|
||||||
boolean text = false;
|
boolean text = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user