mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-12-28 07:58:49 +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
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,6 @@ public class ProtectListener implements Listener {
|
||||
public void onItemDespawn(final ItemDespawnEvent e) {
|
||||
final ItemStack ci = e.getEntity().getItemStack();
|
||||
if (MarkUtil.hasMark(ci)) {
|
||||
ci.setType(Material.AIR);
|
||||
e.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user