@@ -61,6 +61,7 @@ public class Bed extends MaterialData implements Directional {
|
||||
* Set which direction the head of the bed is facing. Note that this will
|
||||
* only affect one of the two blocks the bed is made of.
|
||||
*/
|
||||
@Override
|
||||
public void setFacingDirection(BlockFace face) {
|
||||
byte data;
|
||||
|
||||
@@ -94,6 +95,7 @@ public class Bed extends MaterialData implements Directional {
|
||||
*
|
||||
* @return the direction the head of the bed is facing
|
||||
*/
|
||||
@Override
|
||||
public BlockFace getFacing() {
|
||||
byte data = (byte) (getData() & 0x7);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user