From 775a4207cf087905658cc15b8c301f16ba237d20 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 13 Oct 2015 12:31:57 +0800 Subject: [PATCH] update... Signed-off-by: 502647092 --- .../java/org/maxgamer/QuickShop/Command/QuickShopCommands.java | 2 +- .../java/org/maxgamer/QuickShop/Listeners/ProtectListener.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/maxgamer/QuickShop/Command/QuickShopCommands.java b/src/main/java/org/maxgamer/QuickShop/Command/QuickShopCommands.java index 2447366..8e62034 100644 --- a/src/main/java/org/maxgamer/QuickShop/Command/QuickShopCommands.java +++ b/src/main/java/org/maxgamer/QuickShop/Command/QuickShopCommands.java @@ -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); } diff --git a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java index 86568f7..f4df1e9 100644 --- a/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java +++ b/src/main/java/org/maxgamer/QuickShop/Listeners/ProtectListener.java @@ -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); } }