Skip to content

Commit

Permalink
Wait no, actually shade it correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
CubitsDev committed Jul 11, 2021
1 parent c33b6d0 commit 5c0c080
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
11 changes: 3 additions & 8 deletions dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<includes>
<include>com.goebl</include>
<include>org.json</include>
<include>org.bstats</include>
</includes>
</artifactSet>
<filters>
Expand All @@ -47,8 +48,8 @@
</filters>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>network.palace</shadedPattern>
<pattern>org.bstats.</pattern>
<shadedPattern>network.palace.</shadedPattern>
</relocation>
</relocations>
</configuration>
Expand Down Expand Up @@ -114,12 +115,6 @@
<version>6.5.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>2.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
<includes>
<include>com.goebl</include>
<include>org.json</include>
<include>org.bstats</include>
</includes>
</artifactSet>
<filters>
Expand All @@ -133,8 +134,8 @@
</filters>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>network.palace</shadedPattern>
<pattern>org.bstats.</pattern>
<shadedPattern>network.palace.</shadedPattern>
</relocation>
</relocations>
</configuration>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/network/palace/show/ShowPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public void onEnable() {
Metrics metrics = new Metrics(this, pluginId);


Bukkit.getLogger().info("Show is now enabled!");
Bukkit.getLogger().info("Huge shoutout to Legobuilder0813 for making this work for The Palace Network. Time to let your awesome code shine");
Bukkit.getConsoleSender().sendMessage(ChatColor.GREEN + "Show is now enabled!");
Bukkit.getConsoleSender().sendMessage(ChatColor.GREEN + "Huge shoutout to Legobuilder0813 for making this work for The Palace Network. Time to let your awesome code shine");
}

@Override
Expand Down

0 comments on commit 5c0c080

Please sign in to comment.