From 06ed8ecf97b937b253466c7fb2db1cc1988d1758 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 7 Jun 2012 12:18:22 +0200 Subject: [PATCH] Made Vector implement Comparable instead of Comparable. Oops --- src/main/java/com/sk89q/worldedit/Vector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/Vector.java b/src/main/java/com/sk89q/worldedit/Vector.java index 56cf29e4c..b1fb7c5bc 100644 --- a/src/main/java/com/sk89q/worldedit/Vector.java +++ b/src/main/java/com/sk89q/worldedit/Vector.java @@ -23,7 +23,7 @@ package com.sk89q.worldedit; * * @author sk89q */ -public class Vector implements Comparable { +public class Vector implements Comparable { protected final double x, y, z; /** @@ -692,7 +692,7 @@ public class Vector implements Comparable { } @Override - public int compareTo(BlockVector other) { + public int compareTo(Vector other) { if (y != other.y) return Double.compare(y, other.y); if (z != other.z) return Double.compare(z, other.z); if (x != other.x) return Double.compare(x, other.x);