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 --> <!-- Vault -->
<repository> <repository>
<id>vault-repo</id> <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> </repository>
<!-- CodeMC --> <!-- CodeMC -->
<repository> <repository>
@ -83,14 +83,14 @@
<dependency> <dependency>
<groupId>com.plotsquared</groupId> <groupId>com.plotsquared</groupId>
<artifactId>PlotSquared-Core</artifactId> <artifactId>PlotSquared-Core</artifactId>
<version>5.13.1</version> <version>6.6.1</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>me.totalfreedom</groupId> <groupId>me.telesphoreo</groupId>
<artifactId>TotalFreedomMod</artifactId> <artifactId>DummyTFM</artifactId>
<version>7.1.0</version> <version>1.1c</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>

View file

@ -23,6 +23,6 @@ public class TFM {
} }
public boolean isAdmin(Player player) { 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.MData;
import com.lenis0012.bukkit.marriage2.events.PlayerDivorceEvent; import com.lenis0012.bukkit.marriage2.events.PlayerDivorceEvent;
import com.lenis0012.bukkit.marriage2.events.PlayerMarryEvent; 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.player.PlotPlayer;
import com.plotsquared.core.plot.Plot; import com.plotsquared.core.plot.Plot;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;