Skip to content

Commit

Permalink
fix: possible dupe with other plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Oct 1, 2023
1 parent 0b80c78 commit 55450a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "net.azisaba"
version = "6.7.4"
version = "6.7.5"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import net.minecraft.server.v1_15_R1.EntityItem;
import net.minecraft.server.v1_15_R1.Items;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftItem;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
Expand All @@ -29,7 +28,7 @@ public DropProtectListener(@NotNull LifeCore plugin) {
}

@SuppressWarnings("unchecked")
@EventHandler
@EventHandler(ignoreCancelled = true)
public void onDrop(PlayerDropItemEvent e) {
Rarity rarity = rarityAPI.getRarityByItemStack(e.getItemDrop().getItemStack());
boolean shouldCancel;
Expand Down

0 comments on commit 55450a5

Please sign in to comment.