diff --git a/PlanPluginBridge/pom.xml b/PlanPluginBridge/pom.xml
index 16dce44b8..90547f22f 100644
--- a/PlanPluginBridge/pom.xml
+++ b/PlanPluginBridge/pom.xml
@@ -57,6 +57,10 @@
jitpack.io
https://jitpack.io
+
+ redprotect-repo
+ https://raw.github.com/FabioZumbi12/RedProtect/mvn-repo/
+
viaversion-repo
https://repo.viaversion.com
@@ -189,8 +193,8 @@
br.net.fabiozumbi12.RedProtect
- RedProtect
- 7.3.0
+ RedProtect-Spigot
+ RELEASE
provided
diff --git a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/redprotect/RedProtectData.java b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/redprotect/RedProtectData.java
index b3bc1cde3..d2dde2815 100644
--- a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/redprotect/RedProtectData.java
+++ b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/redprotect/RedProtectData.java
@@ -4,8 +4,8 @@
*/
package com.djrapitops.pluginbridge.plan.redprotect;
-import br.net.fabiozumbi12.RedProtect.API.RedProtectAPI;
-import br.net.fabiozumbi12.RedProtect.Region;
+import br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect;
+import br.net.fabiozumbi12.RedProtect.Bukkit.Region;
import com.djrapitops.plan.data.element.AnalysisContainer;
import com.djrapitops.plan.data.element.InspectContainer;
import com.djrapitops.plan.data.element.TableContainer;
@@ -32,7 +32,7 @@ public class RedProtectData extends PluginData {
@Override
public InspectContainer getPlayerData(UUID uuid, InspectContainer inspectContainer) {
- Set regions = RedProtectAPI.getPlayerRegions(uuid.toString());
+ Set regions = RedProtect.get().getAPI().getPlayerRegions(uuid.toString());
inspectContainer.addValue(getWithIcon("Regions", "map-marker", "red"), regions.size());
@@ -51,7 +51,7 @@ public class RedProtectData extends PluginData {
@Override
public AnalysisContainer getServerData(Collection collection, AnalysisContainer analysisContainer) {
- Set regions = RedProtectAPI.getAllRegions();
+ Set regions = RedProtect.get().getAPI().getAllRegions();
analysisContainer.addValue(getWithIcon("All Regions", "map-marker", "red"), regions.size());