mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
refactor
This commit is contained in:
parent
3a6a8b6e11
commit
3bf03d8607
3 changed files with 6 additions and 10 deletions
|
@ -25,7 +25,7 @@
|
|||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.code.gson:gson:2.8.0" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: net.md-5:bungeecord-chat:1.16-R0.3" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.yaml:snakeyaml:1.26" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: me.totalfreedom:TotalFreedomMod:2020.11.5" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.github.AtlasMediaGroup:TotalFreedomMod:development-0be2aa718f-1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.maven:maven-artifact:3.0" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.maven:maven-core:3.0" level="project" />
|
||||
|
|
8
pom.xml
8
pom.xml
|
@ -67,10 +67,6 @@
|
|||
<id>sonatype</id>
|
||||
<url>https://oss.sonatype.org/content/groups/public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>telesphoreo-repo</id>
|
||||
<url>https://telesphoreo.me/repo/maven</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
|
@ -81,9 +77,9 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.totalfreedom</groupId>
|
||||
<groupId>com.github.AtlasMediaGroup</groupId>
|
||||
<artifactId>TotalFreedomMod</artifactId>
|
||||
<version>2020.11.5</version>
|
||||
<version>development-0be2aa718f-1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -46,7 +46,7 @@ public class TFMBridge
|
|||
return player.isOp();
|
||||
}
|
||||
|
||||
return getTFM().sl.isStaff(player);
|
||||
return getTFM().al.isAdmin(player);
|
||||
}
|
||||
|
||||
public boolean isAdmin(CommandSender sender)
|
||||
|
@ -57,11 +57,11 @@ public class TFMBridge
|
|||
return sender.isOp();
|
||||
}
|
||||
|
||||
return getTFM().sl.isStaff(sender);
|
||||
return getTFM().al.isAdmin(sender);
|
||||
}
|
||||
|
||||
public boolean isVanished(Player player)
|
||||
{
|
||||
return getTFM().sl.isVanished(player.getName());
|
||||
return getTFM().al.isVanished(player.getName());
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue