mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 04:11:50 +01:00
Fixed NoClassDefError
This commit is contained in:
parent
94ed7e09a6
commit
37d67cb78d
@ -32,6 +32,7 @@ public class PingWebAPI extends WebAPI {
|
||||
|
||||
@Override
|
||||
public void sendRequest(String address) throws WebAPIException {
|
||||
if (Compatibility.isBukkitAvailable()) {
|
||||
String accessKey = BukkitPluginChannelListener.getAccessKey();
|
||||
if (accessKey != null) {
|
||||
addVariable("accessKey", accessKey);
|
||||
@ -42,5 +43,8 @@ public class PingWebAPI extends WebAPI {
|
||||
if (accessKey != null) {
|
||||
BukkitPluginChannelListener.usedAccessKey();
|
||||
}
|
||||
} else {
|
||||
super.sendRequest(address);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user