fix pet actions

This commit is contained in:
brenoepic 2022-04-29 20:42:58 -03:00
parent d9b0ce7e36
commit 3b3f271afe
2 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,6 @@ public class ActionDown extends PetAction {
return true; return true;
} }
return true; return false;
} }
} }

View File

@ -20,7 +20,7 @@ public class ActionJump extends PetAction {
@Override @Override
public boolean apply(Pet pet, Habbo habbo, String[] data) { 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.clearPosture();
pet.setTask(PetTasks.JUMP); pet.setTask(PetTasks.JUMP);