mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Creative players can now interact with cloud blocks regardless of tribe. Closes #461
This commit is contained in:
parent
3edb43b132
commit
c5c9141b7b
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