Make Helper#world return WorldClient instead of World

This commit is contained in:
Brady 2018-08-05 18:41:57 -05:00
parent 19e5784af9
commit 89189c532e
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -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;
}