Corrected the retreat mechanic to not heal the npc
This commit is contained in:
@@ -476,7 +476,6 @@ public class NPC extends Entity {
|
|||||||
public boolean pulse() {
|
public boolean pulse() {
|
||||||
getProperties().getCombatPulse().stop();
|
getProperties().getCombatPulse().stop();
|
||||||
getLocks().unlockMovement();
|
getLocks().unlockMovement();
|
||||||
fullRestore();
|
|
||||||
getImpactHandler().setDisabledTicks(0);
|
getImpactHandler().setDisabledTicks(0);
|
||||||
removeAttribute("return-to-spawn");
|
removeAttribute("return-to-spawn");
|
||||||
removeAttribute("return-to-spawn-pulse");
|
removeAttribute("return-to-spawn-pulse");
|
||||||
|
|||||||
Reference in New Issue
Block a user