From c92174218d7937aa9fcb946e959560fba2bffbc6 Mon Sep 17 00:00:00 2001 From: AViewFromTheTop <87103914+AViewFromTheTop@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:19:25 -0400 Subject: [PATCH] Update Crab.java --- src/main/java/net/frozenblock/wilderwild/entity/Crab.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/frozenblock/wilderwild/entity/Crab.java b/src/main/java/net/frozenblock/wilderwild/entity/Crab.java index 43165a1046..3baae6b722 100644 --- a/src/main/java/net/frozenblock/wilderwild/entity/Crab.java +++ b/src/main/java/net/frozenblock/wilderwild/entity/Crab.java @@ -502,6 +502,7 @@ public AgeableMob getBreedOffspring(ServerLevel level, AgeableMob otherParent) { Crab crab = RegisterEntities.CRAB.create(level); if (crab != null) { crab.setPersistenceRequired(); + crab.getBrain().setMemoryWithExpiry(MemoryModuleType.DIG_COOLDOWN, Unit.INSTANCE, CrabAi.getRandomDigCooldown(crab)); } return crab; }