Skip to content

Commit

Permalink
Fix a missing nullable annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Oct 8, 2016
1 parent 47afa1a commit 717734c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/mezz/jei/gui/ItemListOverlay.java
Expand Up @@ -200,6 +200,7 @@ private List<Rectangle> getGuiAreas(GuiContainer guiContainer) {
return guiAreas;
}

@Nullable
private <T extends GuiContainer> List<Rectangle> getGuiAreas(GuiContainer guiContainer, IAdvancedGuiHandler<T> advancedGuiHandler) {
if (advancedGuiHandler.getGuiContainerClass().isAssignableFrom(guiContainer.getClass())) {
T guiT = advancedGuiHandler.getGuiContainerClass().cast(guiContainer);
Expand Down

0 comments on commit 717734c

Please sign in to comment.