Change the functionality of :bounds.

This commit is contained in:
Major- committed 2015-03-02 09:37:59 +00:00
1 parent 57f3c49188
commit 77ecb34109
6 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ public final class Npc extends Mob {
* @param boundary The boundary.
*/
public void setBoundary(Position[] boundary) {
Preconditions.checkArgument(boundary.length == 4, "Boundary count must be 4.");
Preconditions.checkArgument(boundary.length == 2, "Boundary count must be 2.");
this.boundary = boundary.clone();
}