mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-21 18:16:07 +01:00
Use hidden blocks in values panel #324
This commit is contained in:
parent
7c98b17073
commit
95a119c7cd
@ -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