Skip to content

Commit

Permalink
Fixed incorrect area size assignment (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKaVu committed Jun 11, 2023
1 parent 37d5c32 commit 771cc15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/dev/kavu/gameapi/world/Area.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public Area(Supplier<Location> center, double x, double y, double z, AreaShape s
if(z < 0) throw new IllegalArgumentException("z was less than 0");

this.center = center;
this.sizeX = 2 * x;
this.sizeY = 2 * y;
this.sizeZ = 2 * z;
this.sizeX = x;
this.sizeY = y;
this.sizeZ = z;
this.shape = shape;

}
Expand Down

0 comments on commit 771cc15

Please sign in to comment.