File tree Expand file tree Collapse file tree
src/main/java/tk/fungy/wsformc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 <artifactId >maven-compiler-plugin</artifactId >
2525 <version >3.8.1</version >
2626 <configuration >
27- <relocations >
28- <relocation >
29- <pattern >org.bstats</pattern >
30- <!-- Replace this with your package! -->
31- <shadedPattern >tk.fungy.wsformc.Main</shadedPattern >
32- </relocation >
33- </relocations >
3427 <source >${java.version} </source >
3528 <target >${java.version} </target >
3629 </configuration >
4639 <goal >shade</goal >
4740 </goals >
4841 <configuration >
42+ <relocations >
43+ <relocation >
44+ <pattern >org.bstats</pattern >
45+ <!-- Replace this with your package! -->
46+ <shadedPattern >tk.fungy.wsformc</shadedPattern >
47+ </relocation >
48+ </relocations >
4949 <createDependencyReducedPom >false</createDependencyReducedPom >
5050 </configuration >
5151 </execution >
Original file line number Diff line number Diff line change 11package tk .fungy .wsformc ;
22
3+ import org .bstats .bukkit .Metrics ;
34import org .bukkit .plugin .java .JavaPlugin ;
45
56import java .net .UnknownHostException ;
@@ -33,6 +34,9 @@ public void onEnable() {
3334 Command .ws .start ();
3435 }
3536 Updater .startUpdater ();
37+
38+ int pluginId = 17696 ;
39+ Metrics metrics = new Metrics (Main .instance , pluginId );
3640 }
3741
3842 @ Override
You can’t perform that action at this time.
0 commit comments