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:
parent
46ba5c8994
commit
1565c12dbc
@ -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
|
||||||
|
@ -42,7 +42,6 @@ public class FakePlayer implements OfflinePlayer {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void setBanned(boolean banned) {
|
public void setBanned(boolean banned) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user