From 707a388c513acb479ddf7684e845eb8561bedc8f Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Mon, 31 Dec 2012 19:57:21 -0800 Subject: [PATCH] Fixed an issue where dropped items did not retain custom NBT data. --- src/main/java/com/gmail/nossr50/util/Misc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/Misc.java b/src/main/java/com/gmail/nossr50/util/Misc.java index c08d8730b..ffba54dfd 100644 --- a/src/main/java/com/gmail/nossr50/util/Misc.java +++ b/src/main/java/com/gmail/nossr50/util/Misc.java @@ -253,7 +253,7 @@ public class Misc { return; } - location.getWorld().dropItemNaturally(location, itemStack); + location.getWorld().dropItemNaturally(location, itemStack).setItemStack(itemStack); } /**