Skip to content

Commit

Permalink
Fix Spigot Compatibility (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer authored Mar 23, 2023
1 parent a3c06a7 commit f1e1e9c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
12 changes: 12 additions & 0 deletions bungeeguard-bungee-java9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,24 @@
<artifactId>bungeecord-api</artifactId>
<version>${bungee.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-proxy</artifactId>
<version>${bungee.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
12 changes: 12 additions & 0 deletions bungeeguard-bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,24 @@
<artifactId>bungeecord-api</artifactId>
<version>${bungee.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-proxy</artifactId>
<version>${bungee.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void onEnable() {
this.tokenStore = new TokenStore(this);
this.tokenStore.load();

if (!getServer().spigot().getSpigotConfig().getBoolean("settings.bungeecord", false)) {
if (!getServer().spigot().getConfig().getBoolean("settings.bungeecord", false)) {
getLogger().severe("------------------------------------------------------------");
getLogger().severe("'settings.bungeecord' is set to false in spigot.yml.");
getLogger().severe("");
Expand Down
2 changes: 1 addition & 1 deletion bungeeguard-sponge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<repositories>
<repository>
<id>sponge-repo</id>
<url>https://repo.spongepowered.org/maven/</url>
<url>https://repo.spongepowered.org/repository/maven-public/</url>
</repository>
</repositories>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</repository>
<repository>
<id>paper-repo</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<repository>
<id>luck-repo</id>
Expand Down

0 comments on commit f1e1e9c

Please sign in to comment.