From 95a119c7cd55463e4ea2c3bcfc3729a0a653cc50 Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 6 Aug 2024 07:16:50 -0700 Subject: [PATCH] Use hidden blocks in values panel #324 --- src/main/java/world/bentobox/level/panels/ValuePanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/world/bentobox/level/panels/ValuePanel.java b/src/main/java/world/bentobox/level/panels/ValuePanel.java index e97ca54..5af78e4 100644 --- a/src/main/java/world/bentobox/level/panels/ValuePanel.java +++ b/src/main/java/world/bentobox/level/panels/ValuePanel.java @@ -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);