Simplified exactly 3 things.

This commit is contained in:
AJ Fleming 2012-07-23 12:36:41 -05:00
parent a87c6510a7
commit eb540c69f5

View file

@ -16,10 +16,11 @@ public class EntityShoeBot extends EntityRobot {
public void botUpdate() public void botUpdate()
{ {
super.botUpdate(); super.botUpdate();
ModLoader.getMinecraftInstance().thePlayer.addChatMessage("CC"); EntityPlayer person = Modloader.getMinecraftInstance().thePlayer;
person.addChatMessage("CC");
if(hasTask) if(hasTask)
{ {
ModLoader.getMinecraftInstance().thePlayer.addChatMessage("resuming task"); person.addChatMessage("resuming task");
if(this.currentTask == this.getTaskType() && this.taskLocation != null) if(this.currentTask == this.getTaskType() && this.taskLocation != null)
{ {
boolean harDone = harvest(this.taskLocation); boolean harDone = harvest(this.taskLocation);
@ -50,7 +51,7 @@ public class EntityShoeBot extends EntityRobot {
public String getRenderedName() { public String getRenderedName() {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return "BlockEater"; return "Harvester Bot";
} }
public String getTaskType() { public String getTaskType() {
return "harvest"; return "harvest";