From 8e449e79a14f3d7f4e89856e4f2ca0beda94c601 Mon Sep 17 00:00:00 2001 From: brenoepic <59066707+brenoepics@users.noreply.github.com> Date: Fri, 8 Apr 2022 01:44:21 -0300 Subject: [PATCH] Fix Follow Left/Right --- .../eu/habbo/habbohotel/pets/actions/ActionFollowLeft.java | 5 ++--- .../eu/habbo/habbohotel/pets/actions/ActionFollowRight.java | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowLeft.java b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowLeft.java index 84b16e6a..31beb14a 100644 --- a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowLeft.java +++ b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowLeft.java @@ -10,14 +10,13 @@ import com.eu.habbo.threading.runnables.PetFollowHabbo; public class ActionFollowLeft extends PetAction { public ActionFollowLeft() { - super(PetTasks.FOLLOW, true); + super(PetTasks.FOLLOW, false); } @Override public boolean apply(Pet pet, Habbo habbo, String[] data) { - //Follow left. pet.clearPosture(); - + pet.setTask(PetTasks.FOLLOW); Emulator.getThreading().run(new PetFollowHabbo(pet, habbo, -2)); if (pet.getHappyness() > 75) diff --git a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowRight.java b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowRight.java index e00de028..3e51d877 100644 --- a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowRight.java +++ b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionFollowRight.java @@ -10,14 +10,13 @@ import com.eu.habbo.threading.runnables.PetFollowHabbo; public class ActionFollowRight extends PetAction { public ActionFollowRight() { - super(PetTasks.FOLLOW, true); + super(PetTasks.FOLLOW, false); } @Override public boolean apply(Pet pet, Habbo habbo, String[] data) { - //Follow right. pet.clearPosture(); - + pet.setTask(PetTasks.FOLLOW); Emulator.getThreading().run(new PetFollowHabbo(pet, habbo, +2)); if (pet.getHappyness() > 75)