Skip to content

Commit e72c301

Browse files
committed
update bstats
1 parent 87a7259 commit e72c301

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

FMessageBungee/src/main/java/fr/florianpal/fmessage/FMessage.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ public class FMessage extends Plugin {
6666

6767
public static final String BUNGEE_CHAT = "fmessage:chatbungee";
6868

69+
Metrics metrics;
70+
6971
@Override
7072
public void onEnable() {
7173
int pluginId = 24047;
72-
Metrics metrics = new Metrics(this, pluginId);
74+
metrics = new Metrics(this, pluginId);
7375

7476
configurationManager = new ConfigurationManager(getDataFolder());
7577

FMessageVelocity/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
</relocation>
5151
<relocation>
5252
<pattern>org.bstats</pattern>
53-
<!-- Replace this with your package! -->
5453
<shadedPattern>fr.florianpal.fmessage.bstats</shadedPattern>
5554
</relocation>
5655
</relocations>
@@ -136,12 +135,6 @@
136135
<artifactId>acf-velocity</artifactId>
137136
<version>0.5.1-SNAPSHOT</version>
138137
</dependency>
139-
<dependency>
140-
<groupId>org.bstats</groupId>
141-
<artifactId>bstats-bukkit</artifactId>
142-
<version>3.0.1</version>
143-
<scope>compile</scope>
144-
</dependency>
145138
<dependency>
146139
<groupId>fr.florianpal</groupId>
147140
<artifactId>FMessageCommon</artifactId>

FMessageVelocity/src/main/java/fr/florianpal/fmessage/FMessage.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public class FMessage {
8383

8484
public static final MinecraftChannelIdentifier BUNGEE_CHAT = MinecraftChannelIdentifier.from("fmessage:chatbungee");
8585

86+
Metrics metrics;
8687

8788
@Inject
8889
public FMessage(ProxyServer proxyServer, org.slf4j.Logger logger, Metrics.Factory metricsFactory, @DataDirectory Path dataDirectory) {
@@ -95,7 +96,7 @@ public FMessage(ProxyServer proxyServer, org.slf4j.Logger logger, Metrics.Factor
9596
@Subscribe
9697
public void onEnable(ProxyInitializeEvent event) {
9798
int pluginId = 24047;
98-
Metrics metrics = metricsFactory.make(this, pluginId);
99+
metrics = metricsFactory.make(this, pluginId);
99100

100101
configurationManager = new ConfigurationManager(dataDirectory.toFile());
101102

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy