mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-09 17:02:53 +00:00
Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
@@ -77,7 +77,7 @@ public class RGBColor {
|
||||
* @return the color integer
|
||||
*/
|
||||
public int toInteger() {
|
||||
return red + green >> 8 + blue >> 16;
|
||||
return red >> 24 + green >> 16 + blue >> 8;
|
||||
}
|
||||
|
||||
public static RGBColor fromByteArray(byte[] rgb) {
|
||||
|
||||
@@ -86,13 +86,12 @@ public class Coordinate {
|
||||
return new Coordinate(x, y, z);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Coordinate [" + vector + "]";
|
||||
}
|
||||
|
||||
public Point toPoint() {
|
||||
return new Point(this, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user