From 3b3f271afe53816b049b5d617eece037be6fa2f3 Mon Sep 17 00:00:00 2001 From: brenoepic <59066707+brenoepics@users.noreply.github.com> Date: Fri, 29 Apr 2022 20:42:58 -0300 Subject: [PATCH] fix pet actions --- .../java/com/eu/habbo/habbohotel/pets/actions/ActionDown.java | 2 +- .../java/com/eu/habbo/habbohotel/pets/actions/ActionJump.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionDown.java b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionDown.java index 8e46dc5a..70030307 100644 --- a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionDown.java +++ b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionDown.java @@ -36,6 +36,6 @@ public class ActionDown extends PetAction { return true; } - return true; + return false; } } diff --git a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionJump.java b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionJump.java index 05042f21..3d2a1b49 100644 --- a/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionJump.java +++ b/src/main/java/com/eu/habbo/habbohotel/pets/actions/ActionJump.java @@ -20,7 +20,7 @@ public class ActionJump extends PetAction { @Override public boolean apply(Pet pet, Habbo habbo, String[] data) { - if(pet.findPetItem(PetTasks.JUMP, InteractionPetTrampoline.class)) return true; + if(pet.findPetItem(PetTasks.JUMP, InteractionPetTrampoline.class)) return false; pet.clearPosture(); pet.setTask(PetTasks.JUMP);