diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/tutorial/tutorials/clans/objective/goals/fields/MineDiamondsGoal.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/tutorial/tutorials/clans/objective/goals/fields/MineDiamondsGoal.java index a52f0bf94..b5e16f6ae 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/tutorial/tutorials/clans/objective/goals/fields/MineDiamondsGoal.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/tutorial/tutorials/clans/objective/goals/fields/MineDiamondsGoal.java @@ -88,7 +88,7 @@ public class MineDiamondsGoal extends ObjectiveGoal if (event.getItem().getItemStack().getType() == Material.DIAMOND) { - int count = _playersMap.get(event.getPlayer().getUniqueId()).getAndIncrement(); + int count = _playersMap.get(event.getPlayer().getUniqueId()).incrementAndGet(); if (count == 10) finish(event.getPlayer()); }