From abd0a4e3bf6dceb0f3ad8354d4031370c06faca1 Mon Sep 17 00:00:00 2001 From: hirzidevs Date: Thu, 27 Jun 2024 20:41:02 +0700 Subject: [PATCH] Overwrite Cobblestone or Basalt Generator --- scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.js b/scripts/main.js index 8948608..c80c101 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -165,7 +165,7 @@ function Generator(generatorType, generatorBlock, player, tool) { if (isCobblestoneGenerator || isBasaltGenerator || isCustomGenerator) { if (isCobblestoneGenerator && !config.cobblestone) return; if (isBasaltGenerator && !config.basalt) return; - if (!isCobblestoneGenerator && !isBasaltGenerator && isCustomGenerator && !customGenerator.enable) return; + if (isCustomGenerator && !customGenerator.enable) return; let blocks; if (config.enablePerDimensionGenerator && !isCustomGenerator) {