mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Fix #2095 Duplicated Book Entries
This commit is contained in:
1 parent
934ffde12a
commit
6ff1d8b8d7
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ curse_project_id=59751
|
||||
|
||||
tesla_version=1.0.60
|
||||
tesla_mcversion=1.12
|
||||
jei_version=4.8.5.138
|
||||
jei_version=4.8.5.147
|
||||
jei_mcversion=1.12.2
|
||||
ic2_version=2.8.24-ex112
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class GuiForestryBookEntries extends GuiForesterBook {
|
||||
return;
|
||||
}
|
||||
for(int i = 0;i + indexStart < entries.size() && i + indexStart < indexStart + 12;i++){
|
||||
IBookEntry entry = entries.get(i);
|
||||
IBookEntry entry = entries.get(indexStart + i);
|
||||
addButton(new GuiButtonEntry(i, guiLeft + xStart, guiTop + yStart + i * (fontRenderer.FONT_HEIGHT + 2), entry));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user