mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +00:00
update...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
d057967aec
commit
775a4207cf
@ -33,7 +33,7 @@ public class QuickShopCommands implements CommandExecutor, DefaultCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void defaultexecute(final CommandSender sender, final Command command, final String label) throws CommandException {
|
public void defaultExecute(final CommandSender sender, final Command command, final String label) throws CommandException {
|
||||||
hsc.sendHelp(sender, label);
|
hsc.sendHelp(sender, label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,6 @@ public class ProtectListener implements Listener {
|
|||||||
public void onItemDespawn(final ItemDespawnEvent e) {
|
public void onItemDespawn(final ItemDespawnEvent e) {
|
||||||
final ItemStack ci = e.getEntity().getItemStack();
|
final ItemStack ci = e.getEntity().getItemStack();
|
||||||
if (MarkUtil.hasMark(ci)) {
|
if (MarkUtil.hasMark(ci)) {
|
||||||
ci.setType(Material.AIR);
|
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user