mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Fix #431 Leaves become invisible when they start to decay
This commit is contained in:
1 parent
960b322e86
commit
e5979367ee
18 files changed
+265
-199
No files matched your search
@@ -36,7 +36,7 @@ public class FarmableGE implements IFarmable {
|
||||
public ICrop getCropAt(World world, int x, int y, int z) {
|
||||
Block block = world.getBlock(x, y, z);
|
||||
|
||||
if (block.isAir(world, x, y, z) || !block.isWood(world, x, y, z))
|
||||
if (!block.isWood(world, x, y, z))
|
||||
return null;
|
||||
|
||||
return new CropBlock(world, block, world.getBlockMetadata(x, y, z), new Vect(x, y, z));
|
||||
|
||||
Reference in new issue
Block a user