Skip to content

Commit

Permalink
fix a little oopsie but we are good !
Browse files Browse the repository at this point in the history
  • Loading branch information
Leclowndu93150 committed Nov 11, 2024
1 parent 471286e commit 33026b5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/java/com/leclowndu93150/corpsecurioscompat/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,7 @@ public class Main
private static final Logger LOGGER = LogUtils.getLogger();

public Main(IEventBus modEventBus, ModContainer modContainer) {
NeoForge.EVENT_BUS.register(new Balls());
LOGGER.info("Hello from Corpse Curios Compat!");
}

public class Balls {

public Balls() {
de.maxhenkel.corpse.corelib.death.DeathEvents.register();
}

@SubscribeEvent
public void onDeath(PlayerDeathEvent event) {
LOGGER.info(String.valueOf(event.getDeath().getAdditionalItems()));
}
}
}

0 comments on commit 33026b5

Please sign in to comment.