mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
fix pet actions
This commit is contained in:
parent
d9b0ce7e36
commit
3b3f271afe
@ -36,6 +36,6 @@ public class ActionDown extends PetAction {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user