-From b6f2e750f314ca4dcde591c118da7cef76be5a06 Mon Sep 17 00:00:00 2001
+From fc69973021b3a5ac3a45c268d39fab3a8733f8d4 Mon Sep 17 00:00:00 2001
 From: Alexander01998 <contact.wurstimperium@gmail.com>
-Date: Wed, 11 Apr 2018 09:57:28 +0200
+Date: Fri, 18 May 2018 13:14:23 +0200
 Subject: [PATCH] mod
 
 ---

-import org.apache.logging.log4j.Logger;
+import net.wurstclient.WurstClient;
+import net.wurstclient.compatibility.WMinecraft;
 
 public abstract class Entity implements ICommandSender
 {
@@ -125,7 +121,7 @@ public abstract class Entity implements ICommandSender
     public float prevRotationPitch;
 
     /** Axis aligned bounding box. */

     private boolean isOutsideBorder;
 
     /**
@@ -687,9 +684,17 @@ public abstract class Entity implements ICommandSender
      */
     public void moveEntity(double x, double y, double z)
     {
-        if (this.noClip)
+		// TODO: Client
+		// Enables NoClip.
+		if(this instanceof EntityPlayerSP)
+			EventFactory.onPlayerMove((EntityPlayerSP)this);
+		if(this.noClip || ((WurstClient.INSTANCE.mods.phaseMod.isActive()
+			|| WurstClient.INSTANCE.mods.noClipMod.isActive())
+			&& this instanceof EntityPlayer))
 		{
-            this.setEntityBoundingBox(this.getEntityBoundingBox().offset(x, y, z));
+			
+			this.setEntityBoundingBox(
+				this.getEntityBoundingBox().offset(x, y, z));
 			this.resetPositionToBB();
 		}
         else
@@ -713,7 +718,12 @@ public abstract class Entity implements ICommandSender
             double d3 = x;
             double d4 = y;
             double d5 = z;
