Skip to content

Commit

Permalink
Remove duplicate entry in drop handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Dec 29, 2023
1 parent ff3f8e1 commit 86c5178
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/com/shynieke/statues/handlers/DropHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ public void onLivingDrop(LivingDropsEvent event) {
itemStackToDrop = new ItemStack(StatueRegistry.FROG_COLD_STATUE.get());
}
dropLootStatues(entity, itemStackToDrop, source, event);
} else if (entity instanceof Fox fox) {
ItemStack itemStackToDrop = new ItemStack(StatueRegistry.FOX_STATUE.get());
if (fox.getFoxType() == Type.SNOW) {
itemStackToDrop = new ItemStack(StatueRegistry.FOX_SNOW_STATUE.get());
}
dropLootStatues(entity, itemStackToDrop, source, event);
} else if (entity instanceof Warden) {
ItemStack itemStackToDrop = new ItemStack(StatueRegistry.WARDEN_STATUE.get());
dropBossStatue(entity, itemStackToDrop, source, event);
Expand Down

0 comments on commit 86c5178

Please sign in to comment.