mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Fixed a crash when removing bookmarks.
This commit is contained in:
1 parent
14b8331e9e
commit
994c8821f3
1 file changed
+2
-3
@@ -402,9 +402,8 @@ public class GuiLexicon extends GuiScreen {
|
||||
}
|
||||
} else {
|
||||
if(isShiftKeyDown()) {
|
||||
int index = bookmarkKeys.indexOf(key);
|
||||
bookmarks.remove(index);
|
||||
bookmarkKeys.remove(index);
|
||||
bookmarks.remove(i);
|
||||
bookmarkKeys.remove(i);
|
||||
|
||||
modified = true;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user