mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
A tiny bit of work. Hopefully this won't be as brutal as 1.8
This commit is contained in:
1 parent
3983cc858b
commit
1f33df57fa
5 files changed
+76
-71
No files matched your search
@@ -20,6 +20,7 @@ import net.minecraft.client.gui.ScaledResolution;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumParticleTypes;
|
||||
import net.minecraft.util.math.RayTraceResult;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.gameevent.TickEvent.Phase;
|
||||
@@ -45,7 +46,7 @@ public class RenderTickHandler
|
||||
|
||||
FontRenderer font = mc.fontRendererObj;
|
||||
|
||||
MovingObjectPosition pos = player.rayTrace(40.0D, 1.0F);
|
||||
RayTraceResult pos = player.rayTrace(40.0D, 1.0F);
|
||||
|
||||
if(pos != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user