mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Dismounting Fix
This commit is contained in:
parent
9fe1fd593e
commit
1c5e1cde61
@ -30,7 +30,13 @@ public class MountPetEvent extends MessageHandler {
|
|||||||
|
|
||||||
//dismount
|
//dismount
|
||||||
if (habbo.getHabboInfo().getRiding() != null) {
|
if (habbo.getHabboInfo().getRiding() != null) {
|
||||||
|
boolean mountAgain = petId != habbo.getHabboInfo().getRiding().getId();
|
||||||
|
|
||||||
habbo.getHabboInfo().dismountPet(room);
|
habbo.getHabboInfo().dismountPet(room);
|
||||||
|
|
||||||
|
if(!mountAgain) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// someone is already on it
|
// someone is already on it
|
||||||
|
Loading…
Reference in New Issue
Block a user