Skip to content

Commit

Permalink
Fix starfish-studios#20 , Lions not calling super in finalizeSpawn.
Browse files Browse the repository at this point in the history
  • Loading branch information
KedisPL committed Jan 15, 2025
1 parent 7d3ee98 commit 5241241
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public static AttributeSupplier.Builder createAttributes() {

@Override
public SpawnGroupData finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason reason, @Nullable SpawnGroupData spawnData) {
super.finalizeSpawn(level, difficulty, reason, spawnData);
AgeableMobGroupData ageableMobGroupData;
if (spawnData == null) {
spawnData = new AgeableMobGroupData(true);
Expand Down

0 comments on commit 5241241

Please sign in to comment.