mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-22 04:52:22 +00:00
Fix advanced memory card p2p highlight (#34)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user