Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Dec 1, 2018
1 parent fe64557 commit a485ffb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/main/java/mezz/jei/Internal.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import com.google.common.base.Preconditions;

import mezz.jei.bookmarks.BookmarkList;
import mezz.jei.color.ColorNamer;
import mezz.jei.gui.GuiEventHandler;
import mezz.jei.ingredients.IngredientFilter;
Expand Down Expand Up @@ -35,8 +34,6 @@ public final class Internal {
private static GuiEventHandler guiEventHandler;
@Nullable
private static InputHandler inputHandler;
@Nullable
private static BookmarkList bookmarkList;

private Internal() {

Expand Down Expand Up @@ -121,14 +118,4 @@ public static void setInputHandler(InputHandler inputHandler) {
Internal.inputHandler = inputHandler;
MinecraftForge.EVENT_BUS.register(inputHandler);
}

public static BookmarkList getBookmarkList() {
Preconditions.checkState(bookmarkList != null, "BookmarkList has not been created yet.");
return bookmarkList;
}

public static void setBookmarkList(BookmarkList bookmarkList) {
Internal.bookmarkList = bookmarkList;
}

}

0 comments on commit a485ffb

Please sign in to comment.