Use hidden blocks in values panel #324

This commit is contained in:
tastybento 2024-08-06 07:16:50 -07:00
parent 7c98b17073
commit 95a119c7cd

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);