Merge pull request #326 from BentoBoxWorld/324_hide_in_values_panel

Use hidden blocks in values panel #324
This commit is contained in:
tastybento 2024-08-06 07:17:24 -07:00 committed by GitHub
commit 4a5f967706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,7 @@ public class ValuePanel
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);