From eccf32f2beaa215d104c7e10642e6313f736be6f Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 4 Nov 2018 12:40:44 +0100 Subject: [PATCH] Whoops, also fix WG7 implementation due to changes in the API --- api/pom.xml | 2 +- implementation/interface/pom.xml | 4 ++-- implementation/pom.xml | 2 +- implementation/v6/pom.xml | 4 ++-- implementation/v7/pom.xml | 4 ++-- .../implementation/v7/WorldGuardImplementation.java | 2 +- library/pom.xml | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index 27202ad..044656c 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-parent - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper-api diff --git a/implementation/interface/pom.xml b/implementation/interface/pom.xml index 68fff12..4fd12fc 100644 --- a/implementation/interface/pom.xml +++ b/implementation/interface/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-implementation - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper-implementation-interface @@ -18,7 +18,7 @@ ${project.groupId} worldguardwrapper-api - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT diff --git a/implementation/pom.xml b/implementation/pom.xml index 4fffc8a..dc18282 100644 --- a/implementation/pom.xml +++ b/implementation/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-parent - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper-implementation diff --git a/implementation/v6/pom.xml b/implementation/v6/pom.xml index 9488d7d..826312f 100644 --- a/implementation/v6/pom.xml +++ b/implementation/v6/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-implementation - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper-implementation-v6 @@ -18,7 +18,7 @@ ${project.groupId} worldguardwrapper-implementation-interface - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT com.sk89q.worldguard diff --git a/implementation/v7/pom.xml b/implementation/v7/pom.xml index 318c220..c502c84 100644 --- a/implementation/v7/pom.xml +++ b/implementation/v7/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-implementation - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper-implementation-v7 @@ -18,7 +18,7 @@ ${project.groupId} worldguardwrapper-implementation-interface - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT com.sk89q.worldguard diff --git a/implementation/v7/src/main/java/org/codemc/worldguardwrapper/implementation/v7/WorldGuardImplementation.java b/implementation/v7/src/main/java/org/codemc/worldguardwrapper/implementation/v7/WorldGuardImplementation.java index ced0128..8afe45a 100644 --- a/implementation/v7/src/main/java/org/codemc/worldguardwrapper/implementation/v7/WorldGuardImplementation.java +++ b/implementation/v7/src/main/java/org/codemc/worldguardwrapper/implementation/v7/WorldGuardImplementation.java @@ -52,7 +52,7 @@ public class WorldGuardImplementation implements IWorldGuardImplementation { } private Optional getApplicableRegions(@NonNull Location location) { - return getWorldManager(location.getWorld()).map(manager -> manager.getApplicableRegions(BukkitAdapter.asVector(location))); + return getWorldManager(location.getWorld()).map(manager -> manager.getApplicableRegions(BukkitAdapter.asBlockVector(location))); } private Optional queryValue(Player player, @NonNull Location location, @NonNull Flag flag) { diff --git a/library/pom.xml b/library/pom.xml index 42b68a5..cceae2e 100644 --- a/library/pom.xml +++ b/library/pom.xml @@ -7,7 +7,7 @@ org.codemc.worldguardwrapper worldguardwrapper-parent - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT worldguardwrapper @@ -18,13 +18,13 @@ ${project.groupId} worldguardwrapper-implementation-v6 - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT true ${project.groupId} worldguardwrapper-implementation-v7 - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT true