1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Fix copying block data

This commit is contained in:
gravypod
2013-01-01 11:24:16 -05:00
parent 2725a5960f
commit 755b494e10

View File

@@ -81,7 +81,7 @@ public final class Util
public static ItemStack convertBlockToItem(final Block block) public static ItemStack convertBlockToItem(final Block block)
{ {
final ItemStack is = new ItemStack(block.getType(), 1); final ItemStack is = new ItemStack(block.getType(), 1, block.getData());
final short durability = 0; final short durability = 0;