AIR had value of 1 instead of 0 in the config.

This commit is contained in:
tastybento 2020-04-20 07:59:13 -07:00
parent a5abd10678
commit b2811edf99
2 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,8 @@ public class BlockConfig {
// Update blockvalues to latest settings // Update blockvalues to latest settings
Arrays.stream(Material.values()).filter(Material::isBlock) Arrays.stream(Material.values()).filter(Material::isBlock)
.filter(m -> !m.name().startsWith("LEGACY_")) .filter(m -> !m.name().startsWith("LEGACY_"))
.filter(m -> !m.isAir())
.filter(m -> !m.equals(Material.WATER))
.forEach(m -> { .forEach(m -> {
if (!blocks.contains(m.name(), true)) { if (!blocks.contains(m.name(), true)) {
blocks.set(m.name(), 1); blocks.set(m.name(), 1);

View File

@ -673,7 +673,7 @@ blocks:
YELLOW_WOOL: 2 YELLOW_WOOL: 2
ZOMBIE_HEAD: 1 ZOMBIE_HEAD: 1
ZOMBIE_WALL_HEAD: 1 ZOMBIE_WALL_HEAD: 1
AIR: 1 AIR: 0
BEEHIVE: 1 BEEHIVE: 1
BEE_NEST: 1 BEE_NEST: 1
DEAD_BRAIN_CORAL: 1 DEAD_BRAIN_CORAL: 1