Skip to content

Commit

Permalink
Update Crab.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Oct 16, 2023
1 parent cc0eb74 commit c921742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/frozenblock/wilderwild/entity/Crab.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c921742

Please sign in to comment.