mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 22:34:33 +00:00
Fix #881 Update codebase to Java 7
This commit is contained in:
1 parent
9ecab0fecd
commit
3f0dc9e74f
185 files changed
+427
-414
No files matched your search
@@ -108,7 +108,7 @@ public class BlockFarm extends BlockStructure {
|
||||
|
||||
@Override
|
||||
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
|
||||
ArrayList<ItemStack> drops = new ArrayList<ItemStack>();
|
||||
ArrayList<ItemStack> drops = new ArrayList<>();
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if (tile instanceof TileFarm) {
|
||||
|
||||
Reference in new issue
Block a user