Skip to content

Commit

Permalink
Fixed an issue where dropped items did not retain custom NBT data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glitchfinder committed Jan 1, 2013
1 parent d333347 commit 707a388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/gmail/nossr50/util/Misc.java
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 707a388

Please sign in to comment.