mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-23 10:35:11 +01:00
Merge pull request #326 from BentoBoxWorld/324_hide_in_values_panel
Use hidden blocks in values panel #324
This commit is contained in:
commit
4a5f967706
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user