1
0
mirror of https://e.coding.net/circlecloud/MiaoBoard.git synced 2024-11-28 02:49: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 * @author
*/ */
public class PlayerListener implements Listener { public class PlayerListener implements Listener {
MiaoBoard plugin = P.getPlugin(); private MiaoBoard plugin = P.getPlugin();
ScoreBoardManager manager = plugin.getScoreBoardManager(); private ScoreBoardManager manager = plugin.getScoreBoardManager();
public PlayerListener() { public PlayerListener() {
Bukkit.getPluginManager().registerEvents(this, plugin); Bukkit.getPluginManager().registerEvents(this, plugin);
new Statistics(); new Statistics();
new SubscribeTask(true, true); new SubscribeTask(true, SubscribeTask.UpdateType.MAVEN);
} }
@EventHandler @EventHandler

View File

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