1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 03:24:31 +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)
{
final ItemStack is = new ItemStack(block.getType(), 1);
final ItemStack is = new ItemStack(block.getType(), 1, block.getData());
final short durability = 0;