From 3763d3d04f29936d504e18877da5f821df4952c1 Mon Sep 17 00:00:00 2001 From: Kiran Hart Date: Wed, 5 Apr 2023 19:33:02 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B2=20give=20cloned=20item=20#24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Took 2 minutes --- .../auctionhouse/guis/confirmation/GUIConfirmPurchase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ca/tweetzy/auctionhouse/guis/confirmation/GUIConfirmPurchase.java b/src/main/java/ca/tweetzy/auctionhouse/guis/confirmation/GUIConfirmPurchase.java index b6fd46d..a535580 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/guis/confirmation/GUIConfirmPurchase.java +++ b/src/main/java/ca/tweetzy/auctionhouse/guis/confirmation/GUIConfirmPurchase.java @@ -200,7 +200,8 @@ public class GUIConfirmPurchase extends AbstractPlaceholderGui { } - PlayerUtils.giveItem(e.player, located.getItem()); +// PlayerUtils.giveItem(e.player, located.getItem()); + PlayerUtils.giveItem(e.player, located.getItem().clone()); sendMessages(e, located, false, 0, deserializeItem.getAmount()); }