Plant Mega Pack Stage 1 Bamboo to Reed farm. Bamboo, Kelp to Fermenter

This commit is contained in:
Nirek-K authored and mezz committed 2015-03-26 22:47:20 -07:00
1 parent 06a86742bb
commit af036b64e8
4 files changed
+85 -5

No files matched your search

@@ -25,10 +25,12 @@ public class FarmableStacked implements IFarmable {
private final Block block;
private final int matureHeight;
private final int matureMeta;
public FarmableStacked(Block block, int matureHeight) {
public FarmableStacked(Block block, int matureHeight, int matureMeta) {
this.block = block;
this.matureHeight = matureHeight;
this.matureMeta = matureMeta;
}
@Override
@@ -41,8 +43,7 @@ public class FarmableStacked implements IFarmable {
if (world.getBlock(x, y + (matureHeight - 1), z) != block) {
return null;
}
return new CropBlock(world, block, 0, new Vect(x, y + (matureHeight - 1), z));
return new CropBlock(world, block, matureMeta, new Vect(x, y + (matureHeight - 1), z));
}
@Override