@@ -26,7 +26,7 @@ public class CraftFlowerPot extends CraftBlockState implements FlowerPot {
|
||||
|
||||
@Override
|
||||
public MaterialData getContents() {
|
||||
return (pot.d() == null) ? null : CraftMagicNumbers.getMaterial(pot.d()).getNewData((byte) pot.e()); // PAIL: rename
|
||||
return (pot.d() == null) ? null : CraftMagicNumbers.getMaterial(pot.getItem()).getNewData((byte) pot.getData()); // PAIL: rename
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -28,7 +28,7 @@ public class CraftSkull extends CraftBlockState implements Skull {
|
||||
skull = (TileEntitySkull) world.getTileEntityAt(getX(), getY(), getZ());
|
||||
profile = skull.getGameProfile();
|
||||
skullType = getSkullType(skull.getSkullType());
|
||||
rotation = (byte) skull.getRotation();
|
||||
rotation = (byte) skull.rotation;
|
||||
}
|
||||
|
||||
public CraftSkull(final Material material, final TileEntitySkull te) {
|
||||
@@ -36,7 +36,7 @@ public class CraftSkull extends CraftBlockState implements Skull {
|
||||
skull = te;
|
||||
profile = skull.getGameProfile();
|
||||
skullType = getSkullType(skull.getSkullType());
|
||||
rotation = (byte) skull.getRotation();
|
||||
rotation = (byte) skull.rotation;
|
||||
}
|
||||
|
||||
static SkullType getSkullType(int id) {
|
||||
|
||||
Reference in New Issue
Block a user