mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-14 14:45:37 +01:00
issue was wrong import the whole time
This commit is contained in:
parent
0a677273c6
commit
53613cd0f9
@ -46,10 +46,10 @@ import java.util.UUID;
|
||||
|
||||
import net.milkbowl.vault.chat.Chat;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
import net.milkbowl.vault.permission.Permission;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.bukkit.permissions.Permission;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
|
||||
|
@ -133,20 +133,8 @@ public class Vault extends JavaPlugin {
|
||||
// Load up the Plugin metrics
|
||||
try {
|
||||
metrics = new Metrics(getDescription().getVersion());
|
||||
final Vault plugin = this;
|
||||
this.getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
metrics.findCustomData(plugin);
|
||||
try {
|
||||
metrics.beginMeasuringPlugin(plugin);
|
||||
} catch (IOException e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
}, 10);
|
||||
|
||||
metrics.findCustomData(this);
|
||||
metrics.beginMeasuringPlugin(this);
|
||||
} catch (IOException e) {
|
||||
// ignore exception
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user