mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Fixed method name plantFromInventory() typo
This commit is contained in:
1 parent
895ecd54e5
commit
3844aefa9c
3 files changed
+6
-6
No files matched your search
@@ -24,7 +24,7 @@ public class NetherWartFarmer extends SeedFarmer {
|
||||
BlockCoord grn = bc.getLocation(ForgeDirection.DOWN);
|
||||
Block blk = worldObj.getBlock(grn.x, grn.y, grn.z);
|
||||
|
||||
return plantFromInvenetory(farm, bc);
|
||||
return plantFromInventory(farm, bc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ public class SeedFarmer implements IFarmerJoe {
|
||||
if(requiresFarmland()) {
|
||||
World worldObj = farm.getWorldObj();
|
||||
if(isGroundTilled(farm, bc)) {
|
||||
return plantFromInvenetory(farm, bc);
|
||||
return plantFromInventory(farm, bc);
|
||||
}
|
||||
if(farm.hasSeed(getSeeds(), bc)) {
|
||||
boolean tilled = tillBlock(farm, bc);
|
||||
@@ -81,7 +81,7 @@ public class SeedFarmer implements IFarmerJoe {
|
||||
}
|
||||
}
|
||||
}
|
||||
return plantFromInvenetory(farm, bc);
|
||||
return plantFromInventory(farm, bc);
|
||||
}
|
||||
|
||||
public boolean requiresFarmland() {
|
||||
@@ -92,7 +92,7 @@ public class SeedFarmer implements IFarmerJoe {
|
||||
this.requiresFarmland = requiresFarmland;
|
||||
}
|
||||
|
||||
protected boolean plantFromInvenetory(TileFarmStation farm, BlockCoord bc) {
|
||||
protected boolean plantFromInventory(TileFarmStation farm, BlockCoord bc) {
|
||||
World worldObj = farm.getWorldObj();
|
||||
if(canPlant(worldObj, bc) && farm.getSeedFromSupplies(getSeeds(), bc) != null) {
|
||||
return plant(farm, worldObj, bc);
|
||||
|
||||
@@ -21,7 +21,7 @@ public class StemFarmer extends SeedFarmer {
|
||||
if(plantedBlock == block) {
|
||||
return true;
|
||||
}
|
||||
return plantFromInvenetory(farm, bc);
|
||||
return plantFromInventory(farm, bc);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -66,7 +66,7 @@ public class StemFarmer extends SeedFarmer {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean plantFromInvenetory(TileFarmStation farm, BlockCoord bc) {
|
||||
protected boolean plantFromInventory(TileFarmStation farm, BlockCoord bc) {
|
||||
World worldObj = farm.getWorldObj();
|
||||
if(canPlant(worldObj, bc) && farm.getSeedFromSupplies(seeds, bc) != null) {
|
||||
return plant(farm, worldObj, bc);
|
||||
|
||||
Reference in new issue
Block a user