Skip to content

Commit

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

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

0 comments on commit 4430830

Please sign in to comment.