fixed bug in prism method. all blocks were assumed to have direction metadata.

This commit is contained in:
walterhiggins 2013-01-02 00:41:30 +00:00
parent 3d3dccaf70
commit 17c007dcc2

View file

@ -465,8 +465,7 @@ var Drone = {
var c = 0;
var d2 = d;
while(d2 >= 1){
var bd = block + ':' + (d2 >= d/2?this.dir:(this.dir+2)%4);
this.cuboid(bd,w,1,d2);
this.cuboid(block,w,1,d2);
d2 -= 2;
this.fwd().up();
c++;