Skip to content

Commit

Permalink
remove forgotten code
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 7, 2017
1 parent e991bd3 commit 99094fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1277,7 +1277,7 @@ public String getAttribute(Attribute attribute) {
// @description
// Returns whether the inventory can fit an item.
// -->
if (attribute.startsWith("can_fit") && attribute.hasContext(1) && dItem.matches(attribute.getContext(1))) {
if (attribute.startsWith("can_fit") && attribute.hasContext(1)) {
List<dItem> items = dList.valueOf(attribute.getContext(1)).filter(dItem.class);
if (items == null || items.isEmpty()) {
return null;
Expand Down

0 comments on commit 99094fd

Please sign in to comment.