Skip to content

Commit

Permalink
Overwrite Cobblestone or Basalt Generator
Browse files Browse the repository at this point in the history
  • Loading branch information
HirziDevs committed Jun 27, 2024
1 parent 08c8ec9 commit abd0a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit abd0a4e

Please sign in to comment.