mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Creative players can now interact with cloud blocks regardless of tribe. Closes #461
This commit is contained in:
parent
4cd2809f40
commit
1ff0e89724
1 changed files with 5 additions and 0 deletions
|
@ -224,6 +224,11 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
|
||||||
return compositeRace;
|
return compositeRace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean collidesWithClouds() {
|
||||||
|
return getCompositeRace().canInteractWithClouds() || entity.isCreative();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setSpecies(Race race) {
|
public void setSpecies(Race race) {
|
||||||
race = race.validate(entity);
|
race = race.validate(entity);
|
||||||
|
|
Loading…
Reference in a new issue