Skip to content

Commit 5e35474

Browse files
committed
fix issues on some versions of forge
1 parent 73fc385 commit 5e35474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/gregtechceu/gtstoragedrawers/GregTechStorageDrawers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public class GregTechStorageDrawers {
3232
Registries.CREATIVE_MODE_TAB,
3333
new ResourceLocation(MODID, MODID));
3434

35-
public GregTechStorageDrawers(FMLJavaModLoadingContext ctx) {
36-
IEventBus bus = ctx.getModEventBus();
35+
public GregTechStorageDrawers() {
36+
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
3737

3838
for (DrawerTypes type : DrawerTypes.values()) {
3939
type.registerBlocks(BLOCK_REGISTER);

0 commit comments

Comments
 (0)