First steps porting to 1.9

This commit is contained in:
mezz committed 2016-05-03 00:26:28 -07:00
1 parent c47acd803c
commit 73c2608848
635 files changed
+2309 -10906

No files matched your search

@@ -38,7 +38,7 @@ public class CropBlock extends Crop {
@Override
protected Collection<ItemStack> harvestBlock(Vect pos) {
Collection<ItemStack> harvested = block.getDrops(world, pos, block.getStateFromMeta(meta), 0);
Proxies.common.addBlockDestroyEffects(world, pos, block.getStateFromMeta(0));
Proxies.common.addBlockDestroyEffects(world, pos, block.getDefaultState());
// Block.breakBlock() is called by vanilla itself, removing TEs.
world.setBlockToAir(pos);
return harvested;