mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-12-28 07:58:49 +00:00
fix Owner can't remove shop while gui mode...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
b409fcc32f
commit
c83ace24c9
@ -193,7 +193,7 @@ public class MsgUtil {
|
||||
p.sendMessage(ChatColor.DARK_PURPLE + "| " + MsgUtil.p("menu.this-shop-is-selling"));
|
||||
}
|
||||
p.sendMessage(ChatColor.DARK_PURPLE + "+---------------------------------------------------+");
|
||||
if (!plugin.getConfigManager().isEnableMagicLib()) {
|
||||
if (!plugin.getConfigManager().isEnableMagicLib() && !shop.getOwner().equalsIgnoreCase(p.getName())) {
|
||||
final Inventory in = Bukkit.createInventory(null, 9, plugin.getConfigManager().getGuiTitle());
|
||||
in.setItem(4, items);
|
||||
p.openInventory(in);
|
||||
|
Loading…
Reference in New Issue
Block a user