From 3047c528dd7909064842777215dd0fac1a468a4a Mon Sep 17 00:00:00 2001 From: ArcticZeroo Date: Sun, 5 Nov 2017 15:39:51 -0500 Subject: [PATCH] Remove the item drop, don't just cancel the event --- .../src/mineplex/gemhunters/loot/LootModule.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/loot/LootModule.java b/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/loot/LootModule.java index 10bf313db..3d5ad4358 100644 --- a/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/loot/LootModule.java +++ b/Plugins/mineplex-game-gemhunters/src/mineplex/gemhunters/loot/LootModule.java @@ -546,6 +546,7 @@ public class LootModule extends MiniPlugin for (LootItemReward storedReward : _itemRewards) { if (storedReward.getItemStack().isSimilar(dropped)) { event.setCancelled(true); + event.getItemDrop().remove(); event.getPlayer().sendMessage(F.main(_moduleName, "You can't drop special items in Safezones.")); return; }