Jester time
This commit is contained in:
@@ -287,7 +287,9 @@ export class MeleeAttackGoal extends Goal {
|
||||
|
||||
override tick() {
|
||||
const mob = this.mob;
|
||||
const target = mob.target!;
|
||||
// a script's goal ticking before this one can have let it go, it stops next tick
|
||||
const target = mob.target;
|
||||
if (!target) return;
|
||||
mob.look_control.look_at_entity(target);
|
||||
this.#recalculate -= 1;
|
||||
const block = `${Math.floor(target.x)},${Math.floor(target.y)},${Math.floor(target.z)}`;
|
||||
|
||||
Reference in New Issue
Block a user