java.lang.ClassCastException: class me.ender.minimap.PMarker cannot be cast to class java.lang.Integer (me.ender.minimap.PMarker is in unnamed module of loader 'app'; java.lang.Integer is in module java.base of loader 'bootstrap')
at haven.res.ui.locptr.Pointer.mkwidget(locptr.cjava:24)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at haven.Utils.invoke(Utils.java:1760)
at haven.Utils.lambda$smthfun$1(Utils.java:1782)
at haven.Widget$FactMaker.lambda$new$0(Widget.java:168)
at haven.GameUI.track(GameUI.java:1909)
at haven.MapWnd$MarkerList$5.click(MapWnd.java:802)
at haven.Button.mouseup(Button.java:248)
at haven.Widget$MouseUpEvent.shandle(Widget.java:1050)
at haven.Widget.handle(Widget.java:907)
at haven.Widget$Event.dispatch(Widget.java:860)
at haven.UI$PointerGrab.handle(UI.java:584)
at haven.UI$PointerGrab.handle(UI.java:572)
at haven.UI$Grab.check(UI.java:562)
at haven.UI$Grab.access$700(UI.java:546)
at haven.UI.dispatch(UI.java:637)
at haven.UI.processMouseUp(UI.java:897)
at haven.UI.mouseup(UI.java:892)
at haven.UIPanel$Dispatcher.dispatch(UIPanel.java:80)
at haven.GLPanel$Loop.run(GLPanel.java:367)
at haven.JOGLPanel.run(JOGLPanel.java:246)
at java.base/java.lang.Thread.run(Unknown Source)
Should be fixed.Blacktooth wrote:
- Code: Select all
java.lang.ClassCastException: class me.ender.minimap.PMarker cannot be cast to class java.lang.Integer (me.ender.minimap.PMarker is in unnamed module of loader 'app'; java.lang.Integer is in module java.base of loader 'bootstrap')
at haven.res.ui.locptr.Pointer.mkwidget(locptr.cjava:24)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
Happens when trying to track a marker.
Users browsing this forum: No registered users and 3 guests