Skip to content

Commit

Permalink
Fix bats
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Mar 18, 2013
1 parent 37a5c06 commit 3f02ec8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/main/java/net/citizensnpcs/npc/ai/BlockBreaker.java
Expand Up @@ -18,7 +18,6 @@
import org.bukkit.entity.Player;

public class BlockBreaker extends BehaviorGoalAdapter {
private final LivingEntity bukkitEntity;
private final Configuration configuration;
private int currentDamage;
private int currentTick;
Expand All @@ -29,7 +28,6 @@ public class BlockBreaker extends BehaviorGoalAdapter {

private BlockBreaker(LivingEntity entity, org.bukkit.block.Block target, Configuration config) {
this.entity = ((CraftLivingEntity) entity).getHandle();
this.bukkitEntity = entity;
this.x = target.getX();
this.y = target.getY();
this.z = target.getZ();
Expand Down
Expand Up @@ -53,7 +53,7 @@ public EntityBatNPC(World world, NPC npc) {
this.npc = (CitizensNPC) npc;
if (npc != null) {
NMS.clearGoals(goalSelector, targetSelector);
f(false);
a(false);
}
}

Expand Down

0 comments on commit 3f02ec8

Please sign in to comment.