Skip to content

Commit

Permalink
Register Surface Builders on mod bus..
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Oct 27, 2020
1 parent bb30f75 commit bc2498d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.ArrayList;
import java.util.List;

@Mod.EventBusSubscriber(modid = Atum.MOD_ID)
@Mod.EventBusSubscriber(modid = Atum.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
public class AtumSurfaceBuilders {
//Surface Builders
private static final List<SurfaceBuilder<?>> SURFACE_BUILDERS = new ArrayList<>();
Expand Down Expand Up @@ -46,7 +46,6 @@ private static <C extends ISurfaceBuilderConfig, F extends SurfaceBuilder<C>> F
ResourceLocation id = new ResourceLocation(Atum.MOD_ID, name);
builder.setRegistryName(id);
SURFACE_BUILDERS.add(builder);
Registry.register(Registry.SURFACE_BUILDER, id, builder);
return builder;
}

Expand Down

0 comments on commit bc2498d

Please sign in to comment.