Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit d425b5e

Browse files
committed
Remove unused code (TrackX)
1 parent 1d619e2 commit d425b5e

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#### **Did you fix whitespace, format code, or make a purely cosmetic patch?**
1818

19-
Please specify what changes you made to the formatting etc., as it allows us to get an idea of how this will change our files overall.
19+
Please specify what changes you made to the formatting etc., as it allows us to get an idea of how this will change our files overall. Use tabs instead of spaces.
2020

2121
#### **Do you intend to add a new feature or change an existing one?**
2222

build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ dependencies {
109109
exclude group: 'com.google.code.findbugs', module: 'jsr305'
110110
}
111111
implementation 'com.google.code.gson:gson:2.8.5'
112-
implementation 'net.savagellc:trackx:1.5'
113112
compileOnly 'me.clip:placeholderapi:2.10.4'
114113
// compileOnly ('be.maximvdw:MVdWPlaceholderAPI:2.2.3-SNAPSHOT') {
115114
// exclude group: 'org.spigotmc', module: 'spigot'

src/main/java/com/massivecraft/factions/SavageFactions.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import me.lucko.commodore.CommodoreProvider;
3232
import net.milkbowl.vault.economy.Economy;
3333
import net.milkbowl.vault.permission.Permission;
34-
import net.savagellc.trackx.TrackX;
3534
import org.bukkit.Bukkit;
3635
import org.bukkit.ChatColor;
3736
import org.bukkit.Location;
@@ -152,12 +151,8 @@ public void onEnable() {
152151

153152
// Load Conf from disk
154153
Conf.load();
155-
156154
Shop.load();
157155

158-
if (Conf.useTrackX) {
159-
TrackX.startTracking("savagefactions", plugin.getDescription().getVersion(),"com.massivecraft.factions");
160-
}
161156
new ConfigVersion.Checker().checkLevel().TakeActionIfRequired().save();
162157

163158
com.massivecraft.factions.integration.Essentials.setup();
@@ -231,7 +226,7 @@ public void onEnable() {
231226

232227
// since some other plugins execute commands directly through this command interface, provide it
233228
this.getCommand(refCommand).setExecutor(cmdBase);
234-
229+
235230
if (!CommodoreProvider.isSupported()) this.getCommand(refCommand).setTabCompleter(this);
236231

237232
if (getDescription().getFullName().contains("BETA") || getDescription().getFullName().contains("ALPHA")) {

0 commit comments

Comments
 (0)