Skip to content

Commit

Permalink
feat: Add newly activated waystones to the end of the list instead of…
Browse files Browse the repository at this point in the history
… the start #771
  • Loading branch information
BlayTheNinth committed Dec 14, 2023
1 parent a358275 commit 209ffd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class InMemoryPlayerWaystoneData implements IPlayerWaystoneData {
@Override
public void activateWaystone(Player player, IWaystone waystone) {
waystones.put(waystone.getWaystoneUid(), waystone);
sortedWaystones.add(0, waystone);
sortedWaystones.add(waystone);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PersistentPlayerWaystoneData implements IPlayerWaystoneData {
@Override
public void activateWaystone(Player player, IWaystone waystone) {
ListTag activatedWaystonesData = getActivatedWaystonesData(getWaystonesData(player));
activatedWaystonesData.add(0, StringTag.valueOf(waystone.getWaystoneUid().toString()));
activatedWaystonesData.add(StringTag.valueOf(waystone.getWaystoneUid().toString()));
}

@Override
Expand Down

0 comments on commit 209ffd5

Please sign in to comment.