diff --git a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/PassableRayTracing.java b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/PassableRayTracing.java index 08abe7dc..11ec5aec 100644 --- a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/PassableRayTracing.java +++ b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/PassableRayTracing.java @@ -5,20 +5,11 @@ public class PassableRayTracing extends RayTracing{ protected BlockCache blockCache = null; protected boolean collides = false; - - /** - * Empty constructor for setting other properties later. - */ - public PassableRayTracing() { - super(0, 0, 0, 0, 0, 0); - } - public BlockCache getBlockCache() { return blockCache; } - public void setBlockCache(BlockCache blockCache) { this.blockCache = blockCache; } diff --git a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/RayTracing.java b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/RayTracing.java index 0976d597..1ac5bb49 100644 --- a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/RayTracing.java +++ b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/RayTracing.java @@ -34,6 +34,10 @@ public abstract class RayTracing { set(x0, y0, z0, x1, y1, z1); } + public RayTracing(){ + set(0, 0, 0, 0, 0, 0); + } + public void set(double x0, double y0, double z0, double x1, double y1, double z1){ // // TODO: Consider not using end-points at all. // this.x0 = x0;