mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 16:49:04 +00:00
Make getWidth and getHeight methods return the correct fields in ObjectDefinition.
This commit is contained in:
@@ -132,7 +132,7 @@ public final class ObjectDefinition {
|
|||||||
* @return The height.
|
* @return The height.
|
||||||
*/
|
*/
|
||||||
public int getHeight() {
|
public int getHeight() {
|
||||||
return width;
|
return height;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -168,7 +168,7 @@ public final class ObjectDefinition {
|
|||||||
* @return The width.
|
* @return The width.
|
||||||
*/
|
*/
|
||||||
public int getWidth() {
|
public int getWidth() {
|
||||||
return height;
|
return width;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user