mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-30 20:54:44 +02:00
Formatted a little nicer
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user