Skip to content

Commit

Permalink
Fix hotbar misplacement in BaseLayouts (blame thecodewarrior)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluexin committed Jan 7, 2018
1 parent 97a3885 commit f4de609
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ object BaseLayouts {
for (column in 0..8) {
hotbar.add(ComponentSlot(player.hotbar[column], column * 18, 0))
}
mainWrapper.add(main, hotbar)
main.add(hotbar)
mainWrapper.add(main)

root = ComponentVoid(0, 0)
root.add(armor, mainWrapper, offhand)
Expand Down

0 comments on commit f4de609

Please sign in to comment.