Fix advanced memory card p2p highlight (#34)

This commit is contained in:
TotallyNotOndre authored and GitHub committed 2024-03-23 22:09:46 +01:00
1 parent 7812af1c11
commit d4a31dabed
1 file changed
+3 -3
@@ -88,9 +88,9 @@ public class OutlineRenderer {
public static void renderOutlinesWithFacing(RenderWorldLastEvent evt, EntityPlayer p,
Collection<Pair<List<Integer>, ForgeDirection>> coordinates, int r, int g, int b) {
double doubleX = p.lastTickPosX + (p.posX - p.lastTickPosX);
double doubleY = p.lastTickPosY + (p.posY - p.lastTickPosY);
double doubleZ = p.lastTickPosZ + (p.posZ - p.lastTickPosZ);
double doubleX = p.lastTickPosX + (p.posX - p.lastTickPosX) * evt.partialTicks;
double doubleY = p.lastTickPosY + (p.posY - p.lastTickPosY) * evt.partialTicks;
double doubleZ = p.lastTickPosZ + (p.posZ - p.lastTickPosZ) * evt.partialTicks;
GlStateManager.pushAttrib();
GlStateManager.disableDepth();
GlStateManager.disableTexture2D();