Skip to content

Commit

Permalink
Fix advanced memory card p2p highlight (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyNotOndre authored Mar 23, 2024
1 parent 7812af1 commit d4a31da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ public static void renderHighLightedBlocksOutline(Tessellator tessellator, float
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();
Expand Down

0 comments on commit d4a31da

Please sign in to comment.