mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +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
@@ -47,12 +47,12 @@ public class CropBasicGrowthCraft extends Crop {
|
||||
if (harvest.size() > 1) {
|
||||
harvest.remove(0); //Hops have rope as first drop.
|
||||
}
|
||||
Proxies.common.addBlockDestroyEffects(world, pos, block.getStateFromMeta(0));
|
||||
Proxies.common.addBlockDestroyEffects(world, pos, block.getDefaultState());
|
||||
if (isGrape) {
|
||||
world.setBlockToAir(pos);
|
||||
|
||||
} else {
|
||||
world.setBlockState(pos, block.getStateFromMeta(0), Constants.FLAG_BLOCK_SYNCH);
|
||||
world.setBlockState(pos, block.getDefaultState(), Constants.FLAG_BLOCK_SYNCH);
|
||||
}
|
||||
|
||||
if (isRice) {
|
||||
|
||||
Reference in new issue
Block a user