Started by
xEinfachlars
on
Topic category: Help with Minecraft modding (Java Edition)
Good day,
I have just created an achievement and would now like to ensure that when a player accomplishes this achievement, they receive a one-time reward of 100 points. However, I can't figure out how to make it only happen once. Unfortunately, it repeats every time, and the player keeps getting points constantly. Can someone tell me what I need to change?
Thank you very much.
You can use player variables to store flag if the points have already been assigned or not, or check if points are 0 and only assign in this case