Skip to content

Commit

Permalink
🐛 fix(altar): fix pedestal will give extra item
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWishsama committed Mar 12, 2022
1 parent 3760a95 commit f5935a5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ private void usePedestal(@Nonnull Block pedestal, @Nonnull Player p) {
Slimefun.runSync(() -> removedItems.remove(uuid), 30L);

pedestalItem.removeVirtualItem(pedestal.getLocation(), entity);

p.getInventory().addItem(pedestalItem.getOriginalItemStack(entity));
p.playSound(pedestal.getLocation(), Sound.ENTITY_ITEM_PICKUP, 1F, 1F);

/*
Expand Down

0 comments on commit f5935a5

Please sign in to comment.