mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Add tag field placement achievements
This commit is contained in:
parent
8aae182f6a
commit
944115d12c
@ -44,4 +44,15 @@ public class InteractionIceTagField extends InteractionTagField {
|
||||
this.stepTimes.remove(habbo);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlace(Room room) {
|
||||
super.onPlace(room);
|
||||
|
||||
Habbo itemOwner = Emulator.getGameEnvironment().getHabboManager().getHabbo(this.getUserId());
|
||||
|
||||
if (itemOwner != null) {
|
||||
AchievementManager.progressAchievement(itemOwner, Emulator.getGameEnvironment().getAchievementManager().getAchievement("TagA"));
|
||||
}
|
||||
}
|
||||
}
|
@ -43,4 +43,15 @@ public class InteractionRollerskateField extends InteractionTagField {
|
||||
this.stepTimes.remove(habbo);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlace(Room room) {
|
||||
super.onPlace(room);
|
||||
|
||||
Habbo itemOwner = Emulator.getGameEnvironment().getHabboManager().getHabbo(this.getUserId());
|
||||
|
||||
if (itemOwner != null) {
|
||||
AchievementManager.progressAchievement(itemOwner, Emulator.getGameEnvironment().getAchievementManager().getAchievement("RbTagA"));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user