mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Fixed typo in method getAxeLootingValue()
This commit is contained in:
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()));
|
||||
|
||||
Reference in new issue
Block a user