diff --git a/src/main/java/com/sammy/malum/common/block/nature/MalumSaplingBlock.java b/src/main/java/com/sammy/malum/common/block/nature/MalumSaplingBlock.java index a3635aa87..a4afcf0e6 100644 --- a/src/main/java/com/sammy/malum/common/block/nature/MalumSaplingBlock.java +++ b/src/main/java/com/sammy/malum/common/block/nature/MalumSaplingBlock.java @@ -1,7 +1,7 @@ package com.sammy.malum.common.block.nature; import com.sammy.malum.registry.common.block.BlockTagRegistry; -import com.sammy.malum.registry.common.worldgen.ConfiguredFeatureRegistry; +import com.sammy.malum.registry.common.worldgen.*; import net.minecraft.core.BlockPos; import net.minecraft.core.Holder; import net.minecraft.core.registries.Registries; @@ -40,10 +40,6 @@ public void advanceTree(ServerLevel level, BlockPos pos, BlockState state, Rando if (state.getValue(STAGE) == 0) { level.setBlock(pos, state.cycle(STAGE), 4); } else { - Holder> holder = level.registryAccess().registryOrThrow(Registries.CONFIGURED_FEATURE).getHolder(ConfiguredFeatureRegistry.CONFIGURED_RUNEWOOD_TREE).orElse(null); - if (!ForgeEventFactory.blockGrowFeature(level, rand, pos, holder).getResult().equals(Event.Result.DENY)) { - return; - } tree.get().place(NoneFeatureConfiguration.INSTANCE, level, level.getChunkSource().getGenerator(), rand, pos); } }