Skip to content

Commit

Permalink
Closes #423
Browse files Browse the repository at this point in the history
  • Loading branch information
ganymedes01 committed Nov 18, 2015
1 parent fcbcd4a commit 55e703f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/erebus/entity/EntityAnimatedBambooCrate.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public EntityAnimatedBambooCrate(World world) {
tasks.removeTask(aiAttackOnCollide);
tasks.removeTask(aiAttackNearestTarget);
tasks.addTask(1, new EntityAIBlockFollowOwner(this, 1.0D, 10.0F, 2.0F));
isImmuneToFire = true;
}

public EntityAnimatedBambooCrate setContents(IInventory chest) {
Expand Down Expand Up @@ -191,4 +192,8 @@ public void markDirty() {
// TODO Auto-generated method stub

}

@Override
protected void fall(float distance) {
}
}
5 changes: 5 additions & 0 deletions src/main/java/erebus/entity/EntityAnimatedChest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public EntityAnimatedChest(World world) {
tasks.removeTask(aiAttackOnCollide);
tasks.removeTask(aiAttackNearestTarget);
tasks.addTask(1, new EntityAIBlockFollowOwner(this, 1.0D, 10.0F, 2.0F));
isImmuneToFire = true;
}

@Override
Expand Down Expand Up @@ -127,4 +128,8 @@ public void readEntityFromNBT(NBTTagCompound data) {
inventory[b0] = ItemStack.loadItemStackFromNBT(nbttagcompound1);
}
}

@Override
protected void fall(float distance) {
}
}

0 comments on commit 55e703f

Please sign in to comment.