Fixed typo in method getAxeLootingValue()

This commit is contained in:
Nicholas De Souza committed 2014-05-29 01:02:11 -04:00
1 parent 6523dcff31
commit f773786322
2 files changed
+2 -2

No files matched your search

@@ -124,7 +124,7 @@ public class TileFarmStation extends AbstractPoweredTaskEntity /*implements IEnt
return hasAxe() || hasHoe();
}
public int geAxeLootingValue() {
public int getAxeLootingValue() {
ItemStack tool = getTool(ItemAxe.class);
if(tool == null) {
return 0;
@@ -94,7 +94,7 @@ public class TreeFarmer implements IFarmerJoe {
BlockCoord coord = res.harvestedBlocks.get(i);
Block blk = farm.getBlock(coord);
ArrayList<ItemStack> drops = blk.getDrops(farm.getWorld(), bc.x, bc.y, bc.z, farm.getBlockMeta(coord), farm.geAxeLootingValue());
ArrayList<ItemStack> drops = blk.getDrops(farm.getWorld(), bc.x, bc.y, bc.z, farm.getBlockMeta(coord), farm.getAxeLootingValue());
if(drops != null) {
for (ItemStack drop : drops) {
res.drops.add(new EntityItem(farm.getWorld(), bc.x + 0.5, bc.y + 0.5, bc.z + 0.5, drop.copy()));