Skip to content

Instantly share code, notes, and snippets.

@Bastian
Last active September 8, 2016 13:19
Show Gist options
  • Save Bastian/17f8b2e93cd56a8df83065aaaf13b9b3 to your computer and use it in GitHub Desktop.
Save Bastian/17f8b2e93cd56a8df83065aaaf13b9b3 to your computer and use it in GitHub Desktop.
What you have to add in your onEnable method
@Override
public void onEnable() {
// All you have to do is adding this line in your onEnable method:
Metrics metrics = new Metrics(this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment