From 8efb99566705584b7f4e6c51a8b6e3e783718dab Mon Sep 17 00:00:00 2001 From: wizjany Date: Sat, 9 Mar 2013 19:33:31 -0500 Subject: [PATCH] Use actual data for skull blocks --- src/main/java/com/sk89q/worldedit/blocks/SkullBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/blocks/SkullBlock.java b/src/main/java/com/sk89q/worldedit/blocks/SkullBlock.java index a0e206127..66179b495 100644 --- a/src/main/java/com/sk89q/worldedit/blocks/SkullBlock.java +++ b/src/main/java/com/sk89q/worldedit/blocks/SkullBlock.java @@ -66,7 +66,7 @@ public class SkullBlock extends BaseBlock implements TileEntityBlock { * @param rot rotation (if on floor) */ public SkullBlock(int data, byte type, byte rot) { - super(BlockID.HEAD, 1); + super(BlockID.HEAD, data); if (type < (byte) 0 || type > (byte) 4) { this.skullType = (byte) 0; } else { @@ -84,7 +84,7 @@ public class SkullBlock extends BaseBlock implements TileEntityBlock { * @param owner name of player */ public SkullBlock(int data, byte rot, String owner) { - super(BlockID.HEAD, 1); + super(BlockID.HEAD, data); this.rot = rot; this.setOwner(owner); if (owner == null || owner.isEmpty()) this.skullType = (byte) 0;