1
0
mirror of https://e.coding.net/circlecloud/MiaoBoard.git synced 2024-11-24 02:09:03 +00:00

fix: 修复 1.12 类库不兼容的问题

This commit is contained in:
502647092 2018-03-05 19:12:18 +08:00
parent 46ba5c8994
commit 1565c12dbc
2 changed files with 3 additions and 4 deletions

View File

@ -21,13 +21,13 @@ import pw.yumc.YumCore.update.SubscribeTask;
* @author
*/
public class PlayerListener implements Listener {
MiaoBoard plugin = P.getPlugin();
ScoreBoardManager manager = plugin.getScoreBoardManager();
private MiaoBoard plugin = P.getPlugin();
private ScoreBoardManager manager = plugin.getScoreBoardManager();
public PlayerListener() {
Bukkit.getPluginManager().registerEvents(this, plugin);
new Statistics();
new SubscribeTask(true, true);
new SubscribeTask(true, SubscribeTask.UpdateType.MAVEN);
}
@EventHandler

View File

@ -42,7 +42,6 @@ public class FakePlayer implements OfflinePlayer {
return false;
}
@Override
public void setBanned(boolean banned) {
}