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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user