Fix issue #269
This commit is contained in:
parent
cc7c820b62
commit
0dbff00703
1 changed files with 6 additions and 5 deletions
|
@ -774,15 +774,16 @@ function getBlockIdAndMeta( b ) {
|
||||||
// wph 20130414 - use sensible defaults for certain blocks e.g. stairs
|
// wph 20130414 - use sensible defaults for certain blocks e.g. stairs
|
||||||
// should face the drone.
|
// should face the drone.
|
||||||
switch (b) {
|
switch (b) {
|
||||||
case blocks.stairs.oak:
|
case blocks.stairs.birch:
|
||||||
case blocks.stairs.cobblestone:
|
|
||||||
case blocks.stairs.brick:
|
case blocks.stairs.brick:
|
||||||
case blocks.stairs.stone:
|
case blocks.stairs.cobblestone:
|
||||||
|
case blocks.stairs.jungle:
|
||||||
case blocks.stairs.nether:
|
case blocks.stairs.nether:
|
||||||
|
case blocks.stairs.oak:
|
||||||
|
case blocks.stairs.quartz:
|
||||||
case blocks.stairs.sandstone:
|
case blocks.stairs.sandstone:
|
||||||
case blocks.stairs.spruce:
|
case blocks.stairs.spruce:
|
||||||
case blocks.stairs.jungle:
|
case blocks.stairs.stone:
|
||||||
case blocks.stairs.quartz:
|
|
||||||
defaultMeta = Drone.PLAYER_STAIRS_FACING[ this.dir % 4 ];
|
defaultMeta = Drone.PLAYER_STAIRS_FACING[ this.dir % 4 ];
|
||||||
break;
|
break;
|
||||||
case blocks.sign:
|
case blocks.sign:
|
||||||
|
|
Reference in a new issue