Skip to content

Commit

Permalink
removed setting dropped item to null
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan8or committed Jan 25, 2022
1 parent 7fa75af commit b6edc0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ shadowJar {
}

group = 'online.umbcraft.libraries'
version = '1.4.4'
version = '1.4.5'
description = 'Golden Dupes - dupes from the Golden days of minecraft!'
sourceCompatibility = '1.8'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public void onItemPickup(final EntityPickupItemEvent e) {

final ItemStack duped = dupe(toDupe, stacksize);

e.getItem().setItemStack(null);
e.setCancelled(true);
int currentMaxStack = p.getInventory().getMaxStackSize();
int newMaxStack = newAmount(toDupe, stacksize);
Expand Down

0 comments on commit b6edc0c

Please sign in to comment.