Creative players can now interact with cloud blocks regardless of tribe. Closes #461

This commit is contained in:
Sollace 2024-09-24 15:01:13 +01:00
parent 3edb43b132
commit c5c9141b7b
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -224,6 +224,11 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
return compositeRace;
}
@Override
public boolean collidesWithClouds() {
return getCompositeRace().canInteractWithClouds() || entity.isCreative();
}
@Override
public void setSpecies(Race race) {
race = race.validate(entity);