Fixed a crash when removing bookmarks.

This commit is contained in:
Vasco Lavos committed 2015-12-03 21:37:32 +00:00
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 {