mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 12:59:44 +00:00
First steps porting to 1.9
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user