Skip to content

Commit

Permalink
Fix #183.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelzangl committed Jul 21, 2017
1 parent 3750ccc commit a43d07f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public boolean isOfType(int id) {

public void registerByItemFrame(EntityItemFrame frame) {
ItemStack displayed = frame.getDisplayedItem();
if (displayed != null) {
if (displayed != null && !displayed.isEmpty()) {
allowItem(displayed);
}
}
Expand Down

0 comments on commit a43d07f

Please sign in to comment.