mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Formatted a little nicer
This commit is contained in:
parent
081b5f6728
commit
3124712cfb
@ -172,16 +172,16 @@ public class mcMMO extends JavaPlugin
|
|||||||
|
|
||||||
//Plugin Metrics running in a new thread
|
//Plugin Metrics running in a new thread
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
// create a new metrics object
|
// create a new metrics object
|
||||||
Metrics metrics = new Metrics();
|
Metrics metrics = new Metrics();
|
||||||
|
|
||||||
// 'this' in this context is the Plugin object
|
// 'this' in this context is the Plugin object
|
||||||
metrics.beginMeasuringPlugin(thisPlugin);
|
metrics.beginMeasuringPlugin(thisPlugin);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Failed to submit the stats :-(
|
// Failed to submit the stats :-(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user