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