Update to PlotSquared v6

This commit is contained in:
Telesphoreo 2022-03-31 00:29:21 -05:00
parent 8e4ba6f669
commit 2035fa1c50
3 changed files with 7 additions and 7 deletions

10
pom.xml
View file

@ -22,7 +22,7 @@
<!-- Vault -->
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
<url>https://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
<!-- CodeMC -->
<repository>
@ -83,14 +83,14 @@
<dependency>
<groupId>com.plotsquared</groupId>
<artifactId>PlotSquared-Core</artifactId>
<version>5.13.1</version>
<version>6.6.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.totalfreedom</groupId>
<artifactId>TotalFreedomMod</artifactId>
<version>7.1.0</version>
<groupId>me.telesphoreo</groupId>
<artifactId>DummyTFM</artifactId>
<version>1.1c</version>
<scope>provided</scope>
</dependency>

View file

@ -23,6 +23,6 @@ public class TFM {
}
public boolean isAdmin(Player player) {
return getTFM().adminList.isAdmin(player);
return getTFM().al.isAdmin(player);
}
}

View file

@ -3,7 +3,7 @@ package com.lenis0012.bukkit.marriage2.listeners;
import com.lenis0012.bukkit.marriage2.MData;
import com.lenis0012.bukkit.marriage2.events.PlayerDivorceEvent;
import com.lenis0012.bukkit.marriage2.events.PlayerMarryEvent;
import com.plotsquared.core.api.PlotAPI;
import com.plotsquared.core.PlotAPI;
import com.plotsquared.core.player.PlotPlayer;
import com.plotsquared.core.plot.Plot;
import org.bukkit.event.EventHandler;