[1.11.x] Fix blank tab in creative inventory when additional tabs evenly divisible by 10 (#3817)
This commit is contained in:
parent
25497d310b
commit
b6194b0cca
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
+ {
|
||||
+ field_146292_n.add(new GuiButton(101, field_147003_i, field_147009_r - 50, 20, 20, "<"));
|
||||
+ field_146292_n.add(new GuiButton(102, field_147003_i + field_146999_f - 20, field_147009_r - 50, 20, 20, ">"));
|
||||
+ maxPages = ((tabCount - 12) / 10) + 1;
|
||||
+ maxPages = (int) Math.ceil((tabCount - 12) / 10D);
|
||||
+ }
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue