Skip to content

Commit

Permalink
fix: Fixed shift-clicking to move waystone to back or front not being…
Browse files Browse the repository at this point in the history
… saved #916
  • Loading branch information
BlayTheNinth committed Oct 24, 2024
1 parent dd82ca5 commit 7878eb5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public static void handle(ServerPlayer player, SortWaystoneMessage message) {
return;
}

if (message.waystoneUid.equals(SORT_FIRST)) {
PlayerWaystoneManager.sortWaystoneAsFirst(player, message.otherWaystoneUid);
} else if (message.waystoneUid.equals(SORT_LAST)) {
PlayerWaystoneManager.sortWaystoneAsLast(player, message.otherWaystoneUid);
if (message.otherWaystoneUid.equals(SORT_FIRST)) {
PlayerWaystoneManager.sortWaystoneAsFirst(player, message.waystoneUid);
} else if (message.otherWaystoneUid.equals(SORT_LAST)) {
PlayerWaystoneManager.sortWaystoneAsLast(player, message.waystoneUid);
} else {
PlayerWaystoneManager.sortWaystoneSwap(player, message.waystoneUid, message.otherWaystoneUid);
}
Expand Down

0 comments on commit 7878eb5

Please sign in to comment.