From 1ff0e89724212f06229a387f3ba9f4353c72e9c9 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 24 Sep 2024 15:01:13 +0100 Subject: [PATCH] Creative players can now interact with cloud blocks regardless of tribe. Closes #461 --- .../java/com/minelittlepony/unicopia/entity/player/Pony.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/player/Pony.java b/src/main/java/com/minelittlepony/unicopia/entity/player/Pony.java index cba9e735..ca4aa870 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/player/Pony.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/player/Pony.java @@ -224,6 +224,11 @@ public class Pony extends Living implements Copyable, Update return compositeRace; } + @Override + public boolean collidesWithClouds() { + return getCompositeRace().canInteractWithClouds() || entity.isCreative(); + } + @Override public void setSpecies(Race race) { race = race.validate(entity);