Skip to content

Commit

Permalink
Atualizando dependências
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock committed Sep 25, 2024
1 parent 2228cd0 commit 6b4030d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.8-SNAPSHOT</version>
<version>1.0.8</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -232,7 +232,7 @@
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>9.9.0</version>
<version>11.2.0.1</version>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
Expand All @@ -243,7 +243,7 @@
<dependency>
<groupId>com.github.TechFortress</groupId>
<artifactId>GriefPrevention</artifactId>
<version>16.18.1</version>
<version>17.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ private void registerEvents() {
}

private void hookIntoPAPI() {
if (getPluginManager().getPlugin("PlaceholderAPI") != null) {
if (getPluginManager().isPluginEnabled("PlaceholderAPI")) {
getLogger().info("PlaceholderAPI found. Registering hook...");
new SimpleClansExpansion(this).register();
}
}

private void hookIntoVentureChat() {
if (getPluginManager().getPlugin("VentureChat") != null) {
if (getPluginManager().isPluginEnabled("VentureChat")) {
getLogger().info("VentureChat found. Registering hook...");
getPluginManager().registerEvents(new VentureChatListener(this), this);
}
Expand Down

0 comments on commit 6b4030d

Please # to comment.