          VertexBuffer vertexbuffer = tessellator.getBuffer();
          GlStateManager.color(1.0F, 1.0F, 1.0F, 0.9F);
 diff --git a/net/minecraft/client/renderer/chunk/VisGraph.java b/net/minecraft/client/renderer/chunk/VisGraph.java
-index 342c491..4e0c8fc 100644
+index 342c491..82819fc 100644
 --- a/net/minecraft/client/renderer/chunk/VisGraph.java
 +++ b/net/minecraft/client/renderer/chunk/VisGraph.java
 @@ -1,13 +1,16 @@

From c880a1c7233e5ff822f0da13e0192d8fe053c69c Mon Sep 17 00:00:00 2001
From: Alexander01998 <contact.wurstimperium@gmail.com>
Date: Fri, 21 Apr 2017 23:00:47 +0200
Subject: [PATCH] mod

---

 
 public class VisGraph
 {
@@ -20,6 +23,12 @@ public class VisGraph
 
     public void setOpaqueCube(BlockPos pos)
     {
+		// TODO: Client
+		if(WurstClient.INSTANCE.mods.xRayMod.isActive()
+			|| WurstClient.INSTANCE.mods.freecamMod.isActive()
+			|| WurstClient.INSTANCE.mods.caveFinderMod.isActive())
+			return;
+    	
         this.bitSet.set(getIndex(pos), true);
