Add PlayerCompleteAchievementEvent

This commit is contained in:
KingRainbow44 2023-08-27 23:23:55 -04:00
parent 9bb3ec8916
commit 4bd0fbf657
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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;
}
}