Skip to content

Commit

Permalink
Merge pull request #326 from BentoBoxWorld/324_hide_in_values_panel
Browse files Browse the repository at this point in the history
Use hidden blocks in values panel #324
  • Loading branch information
tastybento authored Aug 6, 2024
2 parents 7c98b17 + 95a119c commit 4a5f967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/world/bentobox/level/panels/ValuePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private ValuePanel(Level addon,
this.materialRecordList = Arrays.stream(Material.values()).
filter(Material::isBlock).
filter(m -> !m.name().startsWith("LEGACY_")).
filter(this.addon.getBlockConfig()::isNotHiddenBlock).
map(material ->
{
Integer value = this.addon.getBlockConfig().getValue(this.world, material);
Expand Down

0 comments on commit 4a5f967

Please sign in to comment.