From 89189c532eba947cf3a74df713633f7eb57774d6 Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 5 Aug 2018 18:41:57 -0500 Subject: [PATCH] Make Helper#world return WorldClient instead of World --- src/main/java/baritone/bot/utils/Helper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/baritone/bot/utils/Helper.java b/src/main/java/baritone/bot/utils/Helper.java index 516c7955c..17638b1b4 100755 --- a/src/main/java/baritone/bot/utils/Helper.java +++ b/src/main/java/baritone/bot/utils/Helper.java @@ -4,7 +4,6 @@ import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.client.multiplayer.WorldClient; import net.minecraft.util.math.BlockPos; -import net.minecraft.world.World; /** * @author Brady @@ -18,7 +17,7 @@ public interface Helper { return mc.player; } - default World world() { + default WorldClient world() { return mc.world; }