1
0
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:
502647092 2015-10-13 12:31:57 +08:00
parent d057967aec
commit 775a4207cf
2 changed files with 1 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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);
} }
} }