Dismounting Fix

This commit is contained in:
Stankman 2023-07-17 12:29:11 -05:00
parent 9fe1fd593e
commit 1c5e1cde61

View File

@ -30,7 +30,13 @@ public class MountPetEvent extends MessageHandler {
//dismount
if (habbo.getHabboInfo().getRiding() != null) {
boolean mountAgain = petId != habbo.getHabboInfo().getRiding().getId();
habbo.getHabboInfo().dismountPet(room);
if(!mountAgain) {
return;
}
}
// someone is already on it