mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 13:15:39 +00:00
Add PlayerCompleteAchievementEvent
This commit is contained in:
parent
9bb3ec8916
commit
4bd0fbf657
@ -0,0 +1,17 @@
|
|||||||
|
package emu.grasscutter.server.event.player;
|
||||||
|
|
||||||
|
import emu.grasscutter.game.achievement.Achievement;
|
||||||
|
import emu.grasscutter.game.player.Player;
|
||||||
|
import emu.grasscutter.server.event.types.PlayerEvent;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
public final class PlayerCompleteAchievementEvent extends PlayerEvent {
|
||||||
|
private final Achievement achievement;
|
||||||
|
|
||||||
|
public PlayerCompleteAchievementEvent(Player player, Achievement achievement) {
|
||||||
|
super(player);
|
||||||
|
|
||||||
|
this.achievement = achievement;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user