3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 21:10:05 +01:00

Use actual data for skull blocks

Dieser Commit ist enthalten in:
wizjany 2013-03-09 19:33:31 -05:00
Ursprung 6c6f965ac7
Commit 8efb995667

Datei anzeigen

@ -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;