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 4cd2809f40
commit 1ff0e89724
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);