Removed Block.getRawData

This commit is contained in:
Dinnerbone
2011-03-04 14:20:05 +00:00
parent 332b0c2ca9
commit 770bb9e3b5
3 changed files with 4 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ public class CraftBlock implements Block {
*
* @return block specific metadata
*/
public byte getRawData() {
public byte getData() {
return (byte) chunk.getHandle().b(this.x & 0xF, this.y & 0x7F, this.z & 0xF);
}
@@ -354,9 +354,4 @@ public class CraftBlock implements Block {
public boolean isBlockFaceIndirectlyPowered(BlockFace face) {
return chunk.getHandle().d.j(x, y, z, blockFaceToNotch(face));
}
@Deprecated
public byte getData() {
return getRawData();
}
}