diff --git a/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java b/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java index eb405442..3dd62519 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java @@ -373,7 +373,7 @@ public class EntityCloud extends EntityFlying implements IAnimals { protected float getMinimumFlyingHeight() { float ground = world.provider.getAverageGroundLevel(); - float cloud = world.provider.getCloudHeight(); + float cloud = world.getWorldType().getCloudHeight(); float min = Math.min(ground, cloud); float max = Math.max(ground, cloud); diff --git a/src/main/java/com/minelittlepony/unicopia/render/RenderCloud.java b/src/main/java/com/minelittlepony/unicopia/render/RenderCloud.java index 3ffd6c94..629b7126 100644 --- a/src/main/java/com/minelittlepony/unicopia/render/RenderCloud.java +++ b/src/main/java/com/minelittlepony/unicopia/render/RenderCloud.java @@ -1,11 +1,9 @@ package com.minelittlepony.unicopia.render; -import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.util.ResourceLocation; -import net.minecraft.util.math.Vec3d; import org.lwjgl.opengl.GL11;