mirror of
https://e.coding.net/circlecloud/MiaoBoard.git
synced 2024-11-13 00:19:08 +00:00
fix: 修复 1.12 类库不兼容的问题
This commit is contained in:
parent
46ba5c8994
commit
1565c12dbc
@ -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
|
||||
|
@ -42,7 +42,6 @@ public class FakePlayer implements OfflinePlayer {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBanned(boolean banned) {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user