This commit is contained in:
Beny 2019-05-26 23:20:27 +01:00
parent 944115d12c
commit ef84be59d0

View File

@ -535,7 +535,7 @@ public class Pet implements ISerialize, Runnable {
this.level++; this.level++;
this.say(this.petData.randomVocal(PetVocalsType.LEVEL_UP)); this.say(this.petData.randomVocal(PetVocalsType.LEVEL_UP));
this.addHappyness(100); this.addHappyness(100);
this.roomUnit.setStatus(RoomUnitStatus.GESTURE, "exp"); this.roomUnit.setStatus(RoomUnitStatus.GESTURE, PetGestures.LVLUP.getKey());
this.gestureTickTimeout = Emulator.getIntUnixTimestamp(); this.gestureTickTimeout = Emulator.getIntUnixTimestamp();
AchievementManager.progressAchievement(Emulator.getGameEnvironment().getHabboManager().getHabbo(this.userId), Emulator.getGameEnvironment().getAchievementManager().getAchievement("PetLevelUp")); AchievementManager.progressAchievement(Emulator.getGameEnvironment().getHabboManager().getHabbo(this.userId), Emulator.getGameEnvironment().getAchievementManager().getAchievement("PetLevelUp"));
this.room.sendComposer(new PetLevelUpdatedComposer(this).compose()); this.room.sendComposer(new PetLevelUpdatedComposer(this).compose());