New Scroll features
bob0bob opened this issue ยท 0 comments
Minecolonies version
latest 1.12 off the branch
Expected behavior
When I right click on the new resource scroll. sometime it throws an exception.
java.lang.NullPointerException: Ticking screen
at com.minecolonies.coremod.client.gui.WindowResourceList.updateResourcePane(WindowResourceList.java:170)
at com.minecolonies.coremod.client.gui.WindowResourceList.access$1(WindowResourceList.java:144)
at com.minecolonies.coremod.client.gui.WindowResourceList$1.updateElement(WindowResourceList.java:128)
at com.minecolonies.blockout.views.ScrollingListContainer.refreshElementPanes(ScrollingListContainer.java:52)
at com.minecolonies.blockout.views.ScrollingList.refreshElementPanes(ScrollingList.java:69)
at com.minecolonies.blockout.views.ScrollingList.onUpdate(ScrollingList.java:76)
at java.util.ArrayList.forEach(Unknown Source)
at com.minecolonies.blockout.views.View.onUpdate(View.java:190)
at com.minecolonies.coremod.client.gui.WindowResourceList.onUpdate(WindowResourceList.java:199)
at com.minecolonies.blockout.Screen.updateScreen(Screen.java:127)
crash-2018-08-04_14.29.21-client.txt