Permalink
Browse files

Fixed an issue where dropped items did not retain custom NBT data.

  • Loading branch information...
1 parent d333347 commit 707a388c513acb479ddf7684e845eb8561bedc8f @Glitchfinder Glitchfinder committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/gmail/nossr50/util/Misc.java
@@ -253,7 +253,7 @@ public static void dropItem(Location location, ItemStack itemStack) {
return;
}
- location.getWorld().dropItemNaturally(location, itemStack);
+ location.getWorld().dropItemNaturally(location, itemStack).setItemStack(itemStack);
}
/**

0 comments on commit 707a388

Please sign in to comment.