Skip to content

Commit

Permalink
Fixed: Added missing MoveToHotbarAction value for the swap with off-h…
Browse files Browse the repository at this point in the history
…and inventory action. (#682)
  • Loading branch information
blablubbabc authored Jan 11, 2022
1 parent a4952e3 commit 15df12a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public class MagicValues {
register(MoveToHotbarAction.SLOT_7, 6);
register(MoveToHotbarAction.SLOT_8, 7);
register(MoveToHotbarAction.SLOT_9, 8);
register(MoveToHotbarAction.OFF_HAND, 40);

register(CreativeGrabAction.GRAB, 2);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ public enum MoveToHotbarAction implements ContainerAction {
SLOT_6,
SLOT_7,
SLOT_8,
SLOT_9;
SLOT_9,
OFF_HAND;
}

0 comments on commit 15df12a

Please sign in to comment.