Clean up warnings

This commit is contained in:
mezz committed 2016-06-05 21:40:52 -07:00
1 parent d55d86a3c5
commit ed658301fd
35 files changed
+23 -118

No files matched your search

@@ -37,7 +37,6 @@ import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3i;
import net.minecraft.world.World;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;
@@ -142,8 +141,6 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
// tick updates can come from multiple gearboxes so keep track of them here
private int farmWorkTicks = 0;
private Biome cachedBiome;
public FarmController(World world) {
super(world, FarmMultiblockSizeLimits.instance);
@@ -180,14 +177,6 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
return tankManager;
}
private Biome getBiome() {
if (cachedBiome == null) {
BlockPos coords = getReferenceCoord();
cachedBiome = worldObj.getBiome(coords);
}
return cachedBiome;
}
@Override
public void onAttachedPartWithMultiblockData(IMultiblockComponent part, NBTTagCompound data) {
this.readFromNBT(data);