0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Fix ItemEspHack tracers

This commit is contained in:
Alexander01998 2019-08-06 21:09:48 +02:00
parent b797848497
commit 19efae2ab5

View File

@ -166,11 +166,10 @@ public final class ItemEspHack extends Hack implements UpdateListener,
GL11.glDisable(GL11.GL_DEPTH_TEST);
GL11.glColor4f(1, 1, 0, 0.5F);
Vec3d start = RotationUtils.getClientLookVec()
.add(0, MC.player.getEyeHeight(MC.player.getPose()), 0)
.add(BlockEntityRenderDispatcher.renderOffsetX,
BlockEntityRenderDispatcher.renderOffsetY,
BlockEntityRenderDispatcher.renderOffsetZ);
Vec3d start = RotationUtils.getClientLookVec().add(
BlockEntityRenderDispatcher.renderOffsetX,
BlockEntityRenderDispatcher.renderOffsetY,
BlockEntityRenderDispatcher.renderOffsetZ);
GL11.glBegin(GL11.GL_LINES);
for(ItemEntity e : items)