Skip to content

Commit

Permalink
Update src/main/java/ch/njol/skript/expressions/ExprItems.java
Browse files Browse the repository at this point in the history
Co-authored-by: Efy <[email protected]>
  • Loading branch information
sovdeeth and Efnilite authored Sep 17, 2024
1 parent 9b3fad2 commit bdd14c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public class ExprItems extends SimpleExpression<ItemType> {

private static final ItemType[] ALL_BLOCKS = Arrays.stream(Material.values())
.filter((material -> !material.isLegacy() && material.isBlock()))
.filter(material -> !material.isLegacy() && material.isBlock())
.map(ItemType::new)
.toArray(ItemType[]::new);

Expand Down

0 comments on commit bdd14c6

Please sign in to comment.