GZY-mingbai / ScreenInMC-Plugin

MIT License
44 stars 2 forks source link

1.21 浏览器内核无法使用 #42

Open Hikari16665 opened 1 month ago

Hikari16665 commented 1 month ago

正常创建屏幕,安装chromium之后,屏幕显示在控制器中选择内核,点击选择内核,控制台爆如下错误:

[09:51:34 WARN]: java.lang.NoSuchMethodError: 'void org.cef.browser.CefBrowserOsr.<init>(org.cef.CefClient, java.lang.String, boolean, org.cef.browser.CefRequestContext)'
[09:51:34 WARN]:        at ScreenInMC.jar//org.cef.browser.ScreenInMCChromiumBrowser.<init>(ScreenInMCChromiumBrowser.java:54)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.Browsers.Chromium$Chromium_.createBrowser(Chromium.java:688)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.Browsers.Chromium$Chromium_.access$200(Chromium.java:257)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.Browsers.Chromium.createBrowser(Chromium.java:194)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.BuiltInGUIs.WebBrowser.loadBrowser(WebBrowser.java:237)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.BuiltInGUIs.WebBrowser.setEditGUISettingValue(WebBrowser.java:415)
[09:51:34 WARN]:        at ScreenInMC.jar//cn.mingbai.ScreenInMC.Controller.EditGUI$2.run(EditGUI.java:1453)
[09:51:34 WARN]:        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86)
[09:51:34 WARN]:        at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[09:51:34 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[09:51:34 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[09:51:34 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[09:51:34 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1583)