From 434d843b052910dfa785c4754580337bc93a9fd6 Mon Sep 17 00:00:00 2001 From: Eli Gibbs Date: Sun, 31 May 2026 21:41:07 -0400 Subject: [PATCH] fix #25 Changes spawnplacements to be able to queue with other mods, rather than strictly in SETUP, this might cause other issues --- .../src/main/java/net/cmr/jurassicrevived/CommonClass.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/net/cmr/jurassicrevived/CommonClass.java b/common/src/main/java/net/cmr/jurassicrevived/CommonClass.java index 1ef66e6..8e4a4f9 100755 --- a/common/src/main/java/net/cmr/jurassicrevived/CommonClass.java +++ b/common/src/main/java/net/cmr/jurassicrevived/CommonClass.java @@ -53,10 +53,9 @@ public class CommonClass ModRecipes.register(); - LifecycleEvent.SETUP.register(() -> { - ModBlocks.setupPots(); - ModEntities.registerSpawnPlacements(); - }); + LifecycleEvent.SETUP.register(ModBlocks::setupPots); + + ModEntities.registerSpawnPlacements(); ModBlockEntities.register();