This commit is contained in:
fullwall 2013-03-18 18:52:45 +08:00
parent 37a5c06fd4
commit 3f02ec8981
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
public class BlockBreaker extends BehaviorGoalAdapter {
private final LivingEntity bukkitEntity;
private final Configuration configuration;
private int currentDamage;
private int currentTick;
@ -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();

View File

@ -53,7 +53,7 @@ public class BatController extends MobEntityController {
this.npc = (CitizensNPC) npc;
if (npc != null) {
NMS.clearGoals(goalSelector, targetSelector);
f(false);
a(false);
}
}