Skip to content

Commit

Permalink
Update some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
imDaniX committed Jun 6, 2024
1 parent 20c55a0 commit ba95faa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<version>1.20.6-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -66,7 +66,7 @@
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.7</version>
<version>7.0.10</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand All @@ -90,7 +90,7 @@
<dependency>
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId>
<version>7.2.14</version>
<version>7.3.2</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down
6 changes: 3 additions & 3 deletions src/wgextender/features/claimcommand/BlockLimits.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public ProcessedClaimInfo processClaimInfo(Config config, Player player) {
BlockVector3 min = selection.getMinimumPoint();
BlockVector3 max = selection.getMaximumPoint();

BigInteger yDistance = distance(min.getBlockY(), max.getBlockY());
BigInteger xDistance = distance(min.getBlockX(), max.getBlockX());
BigInteger zDistance = distance(min.getBlockZ(), max.getBlockZ());
BigInteger yDistance = distance(min.y(), max.y());
BigInteger xDistance = distance(min.x(), max.x());
BigInteger zDistance = distance(min.z(), max.z());
BigInteger minHorizontal = xDistance.min(zDistance);

BigInteger volume = BigInteger.ONE
Expand Down

0 comments on commit ba95faa

Please sign in to comment.